Spring AMQP

org.springframework.amqp.rabbit.listener
Class FatalListenerExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.amqp.AmqpException
                  extended by org.springframework.amqp.rabbit.listener.FatalListenerExecutionException
All Implemented Interfaces:
Serializable

public class FatalListenerExecutionException
extends AmqpException

Exception to be thrown when the execution of a listener method failed unrecoverably.

Author:
Dave Syer
See Also:
MessageListenerAdapter, Serialized Form

Constructor Summary
FatalListenerExecutionException(String msg)
          Constructor for ListenerExecutionFailedException.
FatalListenerExecutionException(String msg, Throwable cause)
          Constructor for ListenerExecutionFailedException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FatalListenerExecutionException

public FatalListenerExecutionException(String msg,
                                       Throwable cause)
Constructor for ListenerExecutionFailedException.

Parameters:
msg - the detail message
cause - the exception thrown by the listener method

FatalListenerExecutionException

public FatalListenerExecutionException(String msg)
Constructor for ListenerExecutionFailedException.

Parameters:
msg - the detail message

Spring AMQP

Copyright © 2011. All Rights Reserved.