Class 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:
    Serialized Form
    • 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.