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
public class ClientMessageFormatViolationException extends ClientException
Exception thrown fromMessage
instances when the body section specified violates the configure message format of the message that is being created.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientMessageFormatViolationException(String message)
Creates 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 Detail
-
ClientMessageFormatViolationException
public ClientMessageFormatViolationException(String message)
Creates a new connection message format violation exception.- Parameters:
message
- The message that describes the reason for the error.
-
ClientMessageFormatViolationException
public ClientMessageFormatViolationException(String message, Throwable cause)
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.
-
-