org.apache.qpid.server
Class RequiredDeliveryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.qpid.AMQException
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
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 |
RequiredDeliveryException
public RequiredDeliveryException(java.lang.String message,
AMQMessage payload)
getAMQMessage
public AMQMessage getAMQMessage()
getErrorCode
public AMQConstant getErrorCode()
- Overrides:
getErrorCode
in class AMQException
getReplyCode
public abstract AMQConstant getReplyCode()
Copyright © 2007. All Rights Reserved.