Class PreconditionFailedException
- 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.PreconditionFailedException
-
- All Implemented Interfaces:
Serializable
public class PreconditionFailedException extends ChannelException
Exception thrown if the client requested a method that was not allowed because some precondition failed.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description PreconditionFailedException(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
-
PreconditionFailedException
public PreconditionFailedException(String message)
-
-
Method Detail
-
getCode
public int getCode()
- Specified by:
getCodein classAMQPException
-
-