org.apache.qpid.server.exchange
Class NoRouteException

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
                  extended by org.apache.qpid.server.exchange.NoRouteException
All Implemented Interfaces:
java.io.Serializable

public class NoRouteException
extends RequiredDeliveryException

Thrown by an exchange if there is no way to route a message with the mandatory flag set.

See Also:
Serialized Form

Constructor Summary
NoRouteException(java.lang.String msg, AMQMessage message)
           
 
Method Summary
 int getReplyCode()
           
 
Methods inherited from class org.apache.qpid.server.RequiredDeliveryException
getContentBodies, getContentHeaderBody, getErrorCode, getPublishBody, getReturnMessage
 
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

NoRouteException

public NoRouteException(java.lang.String msg,
                        AMQMessage message)
Method Detail

getReplyCode

public int getReplyCode()
Specified by:
getReplyCode in class RequiredDeliveryException