Logo Search packages:      
Sourcecode: libjlayer-java version File versions  Download package

javazoom::jl::decoder::BitstreamException Class Reference

Inheritance diagram for javazoom::jl::decoder::BitstreamException:

javazoom::jl::decoder::JavaLayerException javazoom::jl::decoder::BitstreamErrors javazoom::jl::decoder::JavaLayerErrors

List of all members.


Detailed Description

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
Author:
MDM 12/12/99

Definition at line 40 of file BitstreamException.java.


Public Member Functions

 BitstreamException (int errorcode, Throwable t)
 BitstreamException (String msg, Throwable t)
int getErrorCode ()
Throwable getException ()
void printStackTrace (PrintStream ps)
void printStackTrace ()

Static Public Member Functions

static String getErrorString (int errorcode)

Static Public Attributes

static final int BITSTREAM_ERROR = 0x100
static final int BITSTREAM_LAST = 0x1ff
static final int DECODER_ERROR = 0x200
static final int INVALIDFRAME = BITSTREAM_ERROR + 5
static final int STREAM_EOF = BITSTREAM_ERROR + 4
static final int STREAM_ERROR = BITSTREAM_ERROR + 2
static final int UNEXPECTED_EOF = BITSTREAM_ERROR + 3
static final int UNKNOWN_ERROR = BITSTREAM_ERROR + 0
static final int UNKNOWN_SAMPLE_RATE = BITSTREAM_ERROR + 1

Private Attributes

int errorcode = UNKNOWN_ERROR

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index