Class SyntaxErrorException
- 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.SyntaxErrorException
-
- All Implemented Interfaces:
Serializable
public class SyntaxErrorException extends ConnectionException
Exception thrown if the sender sent a frame that contained illegal values for one or more fields. This strongly implies a programming error in the sending peer.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description SyntaxErrorException(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
-
SyntaxErrorException
public SyntaxErrorException(String message)
-
-
Method Detail
-
getCode
public int getCode()
- Specified by:
getCodein classAMQPException
-
-