Class MessageException

All Implemented Interfaces:
Serializable

public class MessageException extends SdkException
An exception thrown when the message cannot be created from the data or message data cannot be written to the target type.
See Also:
  • Constructor Details

    • MessageException

      public MessageException(String message)
      Initializes a new instance of the MessageException class.
      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method).
    • MessageException

      public MessageException(Throwable cause)
      Initializes a new instance of the MessageException class.
      Parameters:
      cause - the cause (which is saved for later retrieval by the {code getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • MessageException

      public MessageException(String message, Throwable cause)
      Initializes a new instance of the MessageException class.
      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method).
      cause - the cause (which is saved for later retrieval by the {code getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)