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