Class BitstreamException

  • All Implemented Interfaces:
    java.io.Serializable, BitstreamErrors, JavaLayerErrors

    public class BitstreamException
    extends JavaLayerException
    implements BitstreamErrors
    Instances of BitstreamException are thrown when operations on a Bitstream fail.

    The exception provides details of the exception condition in two ways:

    1. as an error-code describing the nature of the error


    2. as the Throwable instance, if any, that was thrown indicating that an exceptional condition has occurred.

    Since:
    0.0.6
    See Also:
    Serialized Form
    • Constructor Detail

      • BitstreamException

        public BitstreamException​(java.lang.String msg,
                                  java.lang.Throwable t)
      • BitstreamException

        public BitstreamException​(int errorcode,
                                  java.lang.Throwable t)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
      • getErrorString

        public static java.lang.String getErrorString​(int errorcode)