Add constructors to MessageHandlingException
Issue: SPR-11345
This commit is contained in:
committed by
Rossen Stoyanchev
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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -25,10 +25,18 @@ package org.springframework.messaging;
|
|||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public class MessageHandlingException extends MessagingException {
|
public class MessageHandlingException extends MessagingException {
|
||||||
|
|
||||||
|
public MessageHandlingException(Message<?> failedMessage) {
|
||||||
|
super(failedMessage);
|
||||||
|
}
|
||||||
|
|
||||||
public MessageHandlingException(Message<?> message, String description) {
|
public MessageHandlingException(Message<?> message, String description) {
|
||||||
super(message, description);
|
super(message, description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MessageHandlingException(Message<?> failedMessage, Throwable cause) {
|
||||||
|
super(failedMessage, cause);
|
||||||
|
}
|
||||||
|
|
||||||
public MessageHandlingException(Message<?> message, String description, Throwable cause) {
|
public MessageHandlingException(Message<?> message, String description, Throwable cause) {
|
||||||
super(message, description, cause);
|
super(message, description, cause);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user