Coverage Report - org.jaudiotagger.tag.InvalidTagException
 
Classes in this File Line Coverage Branch Coverage Complexity
InvalidTagException
25%
2/8
N/A
1
 
 1  
 /*
 2  
  *  @author : Paul Taylor
 3  
  *  @author : Eric Farng
 4  
  *
 5  
  *  Version @version:$Id: InvalidTagException.java,v 1.5 2008/01/01 15:14:25 paultaylor Exp $
 6  
  *
 7  
  *  MusicTag Copyright (C)2003,2004
 8  
  *
 9  
  *  This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
 10  
  *  General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
 11  
  *  or (at your option) any later version.
 12  
  *
 13  
  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 14  
  *  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 15  
  *  See the GNU Lesser General Public License for more details.
 16  
  *
 17  
  *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
 18  
  *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
 19  
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 20  
  *
 21  
  */
 22  
 package org.jaudiotagger.tag;
 23  
 
 24  
 /**
 25  
  * An <code>InvalidTagException</code> is thrown if a parse error occurs while
 26  
  * a tag is being read from a file. This is different from a
 27  
  * <code>TagNotFoundException</code>. Each tag (or MP3 Frame Header) has an ID
 28  
  * string or some way saying that it simply exists. If this string is missing,
 29  
  * <code>TagNotFoundException</code> is thrown. If the ID string exists, then
 30  
  * any other error while reading throws an <code>InvalidTagException</code>.
 31  
  *
 32  
  * @version $Revision: 1.5 $
 33  
  */
 34  
 public class InvalidTagException extends TagException
 35  
 {
 36  
     /**
 37  
      * Creates a new InvalidTagException datatype.
 38  
      */
 39  
     public InvalidTagException()
 40  0
     {
 41  0
     }
 42  
 
 43  
     /**
 44  
      * Creates a new InvalidTagException datatype.
 45  
      *
 46  
      * @param ex the cause.
 47  
      */
 48  
     public InvalidTagException(Throwable ex)
 49  
     {
 50  0
         super(ex);
 51  0
     }
 52  
 
 53  
     /**
 54  
      * Creates a new InvalidTagException datatype.
 55  
      *
 56  
      * @param msg the detail message.
 57  
      */
 58  
     public InvalidTagException(String msg)
 59  
     {
 60  292
         super(msg);
 61  292
     }
 62  
 
 63  
     /**
 64  
      * Creates a new InvalidTagException datatype.
 65  
      *
 66  
      * @param msg the detail message.
 67  
      * @param ex  the cause.
 68  
      */
 69  
     public InvalidTagException(String msg, Throwable ex)
 70  
     {
 71  0
         super(msg, ex);
 72  0
     }
 73  
 }