Class CommandInvalidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.ow2.joram.mom.amqp.exceptions.AMQPException
-
- org.ow2.joram.mom.amqp.exceptions.ConnectionException
-
- org.ow2.joram.mom.amqp.exceptions.CommandInvalidException
-
- All Implemented Interfaces:
Serializable
public class CommandInvalidException extends ConnectionException
Exception thrown if the client sent an invalid sequence of frames, attempting to perform an operation that was considered invalid by the server. This usually implies a programming error in the client.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description CommandInvalidException(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
-
CommandInvalidException
public CommandInvalidException(String message)
-
-
Method Detail
-
getCode
public int getCode()
- Specified by:
getCodein classAMQPException
-
-