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:
Serializable
Exception to be thrown when the execution of a listener method failed.
- Author:
- Juergen Hoeller, Gary Russell
- See Also:
-
Constructor Summary
ConstructorDescriptionListenerExecutionFailedException
(String msg, Throwable cause, Message... failedMessage) Constructor for ListenerExecutionFailedException. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ListenerExecutionFailedException
Constructor for ListenerExecutionFailedException.- Parameters:
msg
- the detail messagecause
- the exception thrown by the listener methodfailedMessage
- the message(s) that failed
-
-
Method Details
-
getFailedMessage
-
getFailedMessages
-