Class ProtocolViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.qpid.protonj2.engine.exceptions.ProtonException
-
- org.apache.qpid.protonj2.engine.exceptions.ProtocolViolationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FrameDecodingException
,FrameEncodingException
,MalformedAMQPHeaderException
public class ProtocolViolationException extends ProtonException
Error thrown when there has been a violation of the AMQP specification- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolViolationException()
ProtocolViolationException(String message)
ProtocolViolationException(String message, Throwable cause)
ProtocolViolationException(Throwable cause)
ProtocolViolationException(Symbol condition)
ProtocolViolationException(Symbol condition, String message)
ProtocolViolationException(Symbol condition, String message, Throwable cause)
ProtocolViolationException(Symbol condition, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Symbol
getErrorCondition()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProtocolViolationException
public ProtocolViolationException()
-
ProtocolViolationException
public ProtocolViolationException(String message)
-
ProtocolViolationException
public ProtocolViolationException(Throwable cause)
-
ProtocolViolationException
public ProtocolViolationException(Symbol condition)
-
ProtocolViolationException
public ProtocolViolationException(Symbol condition, String message, Throwable cause)
-
-
Method Detail
-
getErrorCondition
public Symbol getErrorCondition()
-
-