Class MessagingExceptionWrapper
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.messaging.MessagingException
org.springframework.integration.support.MessagingExceptionWrapper
- All Implemented Interfaces:
Serializable
A wrapper exception for a
MessagingException
used to convey the cause and
original message to a
MessagePublishingErrorHandler
.
The original message is in this exception's failedMessage
property.
Intended for internal framework use only. Error handlers will typically unwrap the cause while creating an error message.
- Since:
- 5.0
- Author:
- Gary Russell
- See Also:
-
Constructor Summary
ConstructorDescriptionMessagingExceptionWrapper
(Message<?> originalMessage, MessagingException cause) -
Method Summary
Methods inherited from class org.springframework.messaging.MessagingException
getFailedMessage, toString
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MessagingExceptionWrapper
-