Browse Source

Add constructors to MessageHandlingException

Issue: SPR-11345
pull/451/head
Gary Russell 11 years ago committed by Rossen Stoyanchev
parent
commit
0e7b94f9e9
  1. 10
      spring-messaging/src/main/java/org/springframework/messaging/MessageHandlingException.java

10
spring-messaging/src/main/java/org/springframework/messaging/MessageHandlingException.java

@ -1,5 +1,5 @@ @@ -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; @@ -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);
}

Loading…
Cancel
Save