Class ListenerExecutionFailedException

All Implemented Interfaces:
Serializable

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

    • ListenerExecutionFailedException

      public ListenerExecutionFailedException(String msg, Throwable cause, Message... failedMessage)
      Constructor for ListenerExecutionFailedException.
      Parameters:
      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()