Class NoConsumersException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.ow2.joram.mom.amqp.exceptions.AMQPException
-
- org.ow2.joram.mom.amqp.exceptions.ChannelException
-
- org.ow2.joram.mom.amqp.exceptions.NoConsumersException
-
- All Implemented Interfaces:
Serializable
public class NoConsumersException extends ChannelException
Exception thrown when the exchange cannot deliver to a consumer when the immediate flag is set. As a result of pending data on the queue or the absence of any consumers of the queue.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description NoConsumersException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoConsumersException
public NoConsumersException(String message)
-
-
Method Detail
-
getCode
public int getCode()
- Specified by:
getCodein classAMQPException
-
-