org.apache.qpid
Class AMQUndeliveredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.AMQException
              extended by org.apache.qpid.AMQUndeliveredException
All Implemented Interfaces:
Serializable

public class AMQUndeliveredException
extends AMQException

AMQUndeliveredException indicates that a message, marked immediate or mandatory, could not be delivered.

CRC Card
Responsibilities Collaborations
Represents failure to delivery a message that must be delivered.

See Also:
Serialized Form

Constructor Summary
AMQUndeliveredException(AMQConstant errorCode, String msg, Object bounced, Throwable cause)
           
 
Method Summary
 Object getUndeliveredMessage()
           
 boolean isHardError()
           
 
Methods inherited from class org.apache.qpid.AMQException
cloneForCurrentThread, getErrorCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AMQUndeliveredException

public AMQUndeliveredException(AMQConstant errorCode,
                               String msg,
                               Object bounced,
                               Throwable cause)
Method Detail

getUndeliveredMessage

public Object getUndeliveredMessage()

isHardError

public boolean isHardError()
Overrides:
isHardError in class AMQException


Licensed to the Apache Software Foundation