Class MessageFormatException

  • All Implemented Interfaces:
    Serializable

    public final class MessageFormatException
    extends Exception
    This exception must be thrown when an issue occurs during message decoding.
    See Also:
    Serialized Form
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Explicitly set serialVersionUID.
        See Also:
        Constant Field Values
      • linkedException

        private Exception linkedException
        Exception reference.
    • Constructor Detail

      • MessageFormatException

        public MessageFormatException​(String reason)
        Constructs a MessageFormatException with the specified reason. The error code defaults to null.
        Parameters:
        reason - a description of the exception
    • Method Detail

      • getLinkedException

        public Exception getLinkedException()
        Gets the exception linked to this one.
        Returns:
        the linked Exception, null if none
      • setLinkedException

        public void setLinkedException​(Exception exc)
        Adds a linked Exception.
        Parameters:
        ex - the linked Exception