Class ClientMessageFormatViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.qpid.protonj2.client.exceptions.ClientException
org.apache.qpid.protonj2.client.exceptions.ClientMessageFormatViolationException
- All Implemented Interfaces:
Serializable
Exception thrown from
Message
instances when the body section specified
violates the configure message format of the message that is being created.- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new connection message format violation exception.ClientMessageFormatViolationException
(String message, Throwable cause) Creates a new connection message format violation exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientMessageFormatViolationException
Creates a new connection message format violation exception.- Parameters:
message
- The message that describes the reason for the error.
-
ClientMessageFormatViolationException
Creates a new connection message format violation exception.- Parameters:
message
- The message that describes the reason for the error.cause
- An exception that further defines the reason for the error.
-