Add constructors to MessageHandlingException
Issue: SPR-11345
This commit is contained in:
parent
74fe1aea31
commit
0e7b94f9e9
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue