Class FatalListenerExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.amqp.AmqpException
-
- org.springframework.amqp.rabbit.listener.exception.FatalListenerExecutionException
-
- All Implemented Interfaces:
java.io.Serializable
public class FatalListenerExecutionException extends AmqpException
Exception to be thrown when the execution of a listener method failed with an irrecoverable problem.- Author:
- Dave Syer
- See Also:
MessageListenerAdapter
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FatalListenerExecutionException(java.lang.String msg)
Constructor for ListenerExecutionFailedException.FatalListenerExecutionException(java.lang.String msg, java.lang.Throwable cause)
Constructor for ListenerExecutionFailedException.
-
-
-
Constructor Detail
-
FatalListenerExecutionException
public FatalListenerExecutionException(java.lang.String msg, java.lang.Throwable cause)
Constructor for ListenerExecutionFailedException.- Parameters:
msg
- the detail messagecause
- the exception thrown by the listener method
-
FatalListenerExecutionException
public FatalListenerExecutionException(java.lang.String msg)
Constructor for ListenerExecutionFailedException.- Parameters:
msg
- the detail message
-
-