Class ListenerExecutionFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.amqp.AmqpException
-
- org.springframework.amqp.rabbit.support.ListenerExecutionFailedException
-
- All Implemented Interfaces:
java.io.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:
MessageListenerAdapter, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListenerExecutionFailedException(java.lang.String msg, java.lang.Throwable cause, Message... failedMessage)Constructor for ListenerExecutionFailedException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagegetFailedMessage()java.util.Collection<Message>getFailedMessages()
-
-
-
Constructor Detail
-
ListenerExecutionFailedException
public ListenerExecutionFailedException(java.lang.String msg, java.lang.Throwable cause, Message... failedMessage)Constructor for ListenerExecutionFailedException.- Parameters:
msg- the detail messagecause- the exception thrown by the listener methodfailedMessage- the message(s) that failed
-
-