org.farng.mp3
Class InvalidTagException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.farng.mp3.TagException
              extended by org.farng.mp3.InvalidTagException
All Implemented Interfaces:
java.io.Serializable

public class InvalidTagException
extends TagException

An InvalidTagException is thrown if a parse error occurs while a tag is being read from a file. This is different from a TagNotFoundException. Each tag (or MP3 Frame Header) has an ID string or some way saying that it simply exists. If this string is missing, TagNotFoundException is thrown. If the ID string exists, then any other error while reading throws an InvalidTagException.

Version:
$Revision: 3 $
Author:
Eric Farng
See Also:
Serialized Form

Constructor Summary
InvalidTagException()
          Creates a new InvalidTagException object.
InvalidTagException(java.lang.String message)
          Creates a new InvalidTagException object.
InvalidTagException(java.lang.String message, java.lang.Throwable exception)
          Creates a new InvalidTagException object.
InvalidTagException(java.lang.Throwable exception)
          Creates a new InvalidTagException object.
 
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

InvalidTagException

public InvalidTagException()
Creates a new InvalidTagException object.


InvalidTagException

public InvalidTagException(java.lang.Throwable exception)
Creates a new InvalidTagException object.


InvalidTagException

public InvalidTagException(java.lang.String message)
Creates a new InvalidTagException object.

Parameters:
message - the detail message.

InvalidTagException

public InvalidTagException(java.lang.String message,
                           java.lang.Throwable exception)
Creates a new InvalidTagException object.