Class DecodeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DecodeException
    extends java.lang.IllegalArgumentException
    An exception which indicates that decoding has failed due to invalid or truncated input.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DecodeException()
      Constructs a new DecodeException instance.
      DecodeException​(java.lang.String msg)
      Constructs a new DecodeException instance with an initial message.
      DecodeException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs a new DecodeException instance with an initial message and cause.
      DecodeException​(java.lang.Throwable cause)
      Constructs a new DecodeException instance with an initial cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DecodeException

        public DecodeException()
        Constructs a new DecodeException instance. The message is left blank (null), and no cause is specified.
      • DecodeException

        public DecodeException​(java.lang.String msg)
        Constructs a new DecodeException instance with an initial message. No cause is specified.
        Parameters:
        msg - the message
      • DecodeException

        public DecodeException​(java.lang.Throwable cause)
        Constructs a new DecodeException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this DecodeException; otherwise the message is left blank (null).
        Parameters:
        cause - the cause
      • DecodeException

        public DecodeException​(java.lang.String msg,
                               java.lang.Throwable cause)
        Constructs a new DecodeException instance with an initial message and cause.
        Parameters:
        msg - the message
        cause - the cause