org.springframework.amqp.rabbit.listener
Class ListenerExecutionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.amqp.AmqpException
org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException
- All Implemented Interfaces:
- Serializable
public class ListenerExecutionFailedException
- extends AmqpException
Exception to be thrown when the execution of a listener method failed.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
MessageListenerAdapter
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ListenerExecutionFailedException
public ListenerExecutionFailedException(String msg,
Throwable cause)
- Constructor for ListenerExecutionFailedException.
- Parameters:
msg
- the detail messagecause
- the exception thrown by the listener method
Copyright © 2011. All Rights Reserved.