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 from Message instances when the body section specified violates the configure message format of the message that is being created.
See Also:
  • Constructor Details

    • 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.