added description-only constructor to MessageMappingException

This commit is contained in:
Mark Fisher
2010-01-18 15:11:04 +00:00
parent f13a09f926
commit b198aa14e5

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 the original author or authors.
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,6 +27,10 @@ import org.springframework.integration.core.MessagingException;
@SuppressWarnings("serial")
public class MessageMappingException extends MessagingException {
public MessageMappingException(String description) {
super(description);
}
public MessageMappingException(String description, Throwable cause) {
super(description, cause);
}