org.jaudiotagger.audio.exceptions
Class CannotReadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jaudiotagger.audio.exceptions.CannotReadException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CannotReadVideoException

public class CannotReadException
extends java.lang.Exception

This exception is thrown if an audio file cannot be read.
Causes may be invalid data or IO errors.

Author:
Raphaƫl Slinckx
See Also:
Serialized Form

Constructor Summary
CannotReadException()
          Creates an instance.
CannotReadException(java.lang.String message)
          Creates an instance.
CannotReadException(java.lang.String message, java.lang.Throwable cause)
          Creates an instance.
CannotReadException(java.lang.Throwable ex)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

CannotReadException

public CannotReadException()
Creates an instance.


CannotReadException

public CannotReadException(java.lang.Throwable ex)

CannotReadException

public CannotReadException(java.lang.String message)
Creates an instance.

Parameters:
message - The message.

CannotReadException

public CannotReadException(java.lang.String message,
                           java.lang.Throwable cause)
Creates an instance.

Parameters:
message - The error message.
cause - The throwable causing this exception.