org.apache.qpid.server
Class RequiredDeliveryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.AMQException
              extended by org.apache.qpid.server.RequiredDeliveryException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoConsumersException, NoRouteException

public abstract class RequiredDeliveryException
extends AMQException

Signals that a required delivery could not be made. This could be bacuse of the immediate flag being set and the queue having no consumers, or the mandatory flag being set and the exchange having no valid bindings.

See Also:
Serialized Form

Constructor Summary
RequiredDeliveryException(java.lang.String message, AMQMessage payload)
           
 
Method Summary
 AMQMessage getAMQMessage()
           
 AMQConstant getErrorCode()
           
abstract  AMQConstant getReplyCode()
           
 
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

RequiredDeliveryException

public RequiredDeliveryException(java.lang.String message,
                                 AMQMessage payload)
Method Detail

getAMQMessage

public AMQMessage getAMQMessage()

getErrorCode

public AMQConstant getErrorCode()
Overrides:
getErrorCode in class AMQException

getReplyCode

public abstract AMQConstant getReplyCode()


Copyright © 2007. All Rights Reserved.