public class ListenerExecutionFailedException extends AmqpException
MessageListenerAdapter,
Serialized Form| Constructor and Description |
|---|
ListenerExecutionFailedException(String msg,
Throwable cause)
Constructor for ListenerExecutionFailedException.
|
ListenerExecutionFailedException(String msg,
Throwable cause,
Message failedMessage)
Constructor for ListenerExecutionFailedException.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
getFailedMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ListenerExecutionFailedException(String msg, Throwable cause)
msg - the detail messagecause - the exception thrown by the listener methodpublic ListenerExecutionFailedException(String msg, Throwable cause, Message failedMessage)
msg - the detail messagecause - the exception thrown by the listener methodfailedMessage - the message that failedpublic Message getFailedMessage()