diff --git a/spring-messaging/src/main/java/org/springframework/messaging/MessageHandlingException.java b/spring-messaging/src/main/java/org/springframework/messaging/MessageHandlingException.java index 2a93da384a..0052f28073 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/MessageHandlingException.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/MessageHandlingException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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. @@ -25,10 +25,18 @@ package org.springframework.messaging; @SuppressWarnings("serial") public class MessageHandlingException extends MessagingException { + public MessageHandlingException(Message failedMessage) { + super(failedMessage); + } + public MessageHandlingException(Message message, String description) { super(message, description); } + public MessageHandlingException(Message failedMessage, Throwable cause) { + super(failedMessage, cause); + } + public MessageHandlingException(Message message, String description, Throwable cause) { super(message, description, cause); }