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:
java.io.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(java.lang.String message)
Creates a new connection message format violation exception.ClientMessageFormatViolationException(java.lang.String message, java.lang.Throwable cause)
Creates a new connection message format violation exception.
-
-
-
Constructor Detail
-
ClientMessageFormatViolationException
public ClientMessageFormatViolationException(java.lang.String message)
Creates a new connection message format violation exception.- Parameters:
message
- The message that describes the reason for the error.
-
ClientMessageFormatViolationException
public ClientMessageFormatViolationException(java.lang.String message, java.lang.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.
-
-