Package javazoom.jl.decoder
Class BitstreamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javazoom.jl.decoder.JavaLayerException
-
- javazoom.jl.decoder.BitstreamException
-
- All Implemented Interfaces:
java.io.Serializable
,BitstreamErrors
,JavaLayerErrors
public class BitstreamException extends JavaLayerException implements BitstreamErrors
Instances ofBitstreamException
are thrown when operations on aBitstream
fail.The exception provides details of the exception condition in two ways:
- as an error-code describing the nature of the error
-
as the
Throwable
instance, if any, that was thrown indicating that an exceptional condition has occurred.
- Since:
- 0.0.6
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javazoom.jl.decoder.BitstreamErrors
BITSTREAM_LAST, INVALIDFRAME, STREAM_EOF, STREAM_ERROR, UNEXPECTED_EOF, UNKNOWN_ERROR, UNKNOWN_SAMPLE_RATE
-
Fields inherited from interface javazoom.jl.decoder.JavaLayerErrors
BITSTREAM_ERROR, DECODER_ERROR
-
-
Constructor Summary
Constructors Constructor Description BitstreamException(int errorcode, java.lang.Throwable t)
BitstreamException(java.lang.String msg, java.lang.Throwable t)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
static java.lang.String
getErrorString(int errorcode)
-
Methods inherited from class javazoom.jl.decoder.JavaLayerException
getException, printStackTrace, printStackTrace
-
-