codesimian.mp3decoder
Class DecoderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by codesimian.mp3decoder.JavaLayerException
              extended by codesimian.mp3decoder.DecoderException
All Implemented Interfaces:
DecoderErrors, JavaLayerErrors, java.io.Serializable

public class DecoderException
extends JavaLayerException
implements DecoderErrors

The DecoderException represents the class of errors that can occur when decoding MPEG audio.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface codesimian.mp3decoder.DecoderErrors
UNKNOWN_ERROR, UNSUPPORTED_LAYER
 
Fields inherited from interface codesimian.mp3decoder.JavaLayerErrors
BITSTREAM_ERROR, DECODER_ERROR
 
Constructor Summary
DecoderException(int errorcode, java.lang.Throwable t)
           
DecoderException(java.lang.String msg, java.lang.Throwable t)
           
 
Method Summary
 int getErrorCode()
           
static java.lang.String getErrorString(int errorcode)
           
 
Methods inherited from class codesimian.mp3decoder.JavaLayerException
getException, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecoderException

public DecoderException(java.lang.String msg,
                        java.lang.Throwable t)

DecoderException

public DecoderException(int errorcode,
                        java.lang.Throwable t)
Method Detail

getErrorCode

public int getErrorCode()

getErrorString

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