Class ListenerExecutionFailedException

All Implemented Interfaces:

public class ListenerExecutionFailedException extends AmqpException
Exception to be thrown when the execution of a listener method failed.
Juergen Hoeller, Gary Russell
See Also:
  • Constructor Details

    • ListenerExecutionFailedException

      public ListenerExecutionFailedException(String msg, Throwable cause, Message... failedMessage)
      Constructor for ListenerExecutionFailedException.
      msg - the detail message
      cause - the exception thrown by the listener method
      failedMessage - the message(s) that failed
  • Method Details

    • getFailedMessage

      public Message getFailedMessage()
    • getFailedMessages

      public Collection<Message> getFailedMessages()