~ubuntu-branches/ubuntu/utopic/libjaudiotagger-java/utopic

« back to all changes in this revision

Viewing changes to src/org/jaudiotagger/tag/InvalidTagException.java

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath, Damien Raude-Morvan, Varun Hiremath
  • Date: 2009-04-01 19:17:56 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090401191756-bygniim270guy7o1
Tags: 1.0.9-1
[ Damien Raude-Morvan ]
* New upstream release
* debian/watch: Use java.net repository (which contains new releases!)
* debian/control:
  - Build-Depends on default-jdk-builddep
  - Bump Standards-Version to 3.8.1 (no changes needed)
  - Change section to "java"
* debian/rules: use default-java as JAVA_HOME
* debina/orig-tar.{sh|excludes}: strip audio and others binary files from ZIP
* debian/build.xml:
  - compile with "nowarn" to keep build log readable
  - exclude LogFormatter from build (use com.sun classes)
* debian/ant.properties: new source directory is "src" in orig.tar.gz
* Add myself as Uploaders

[ Varun Hiremath ]
* Accept changes made by Damien Raude-Morvan (Closes: #522130)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
    {
 
41
    }
 
42
 
 
43
    /**
 
44
     * Creates a new InvalidTagException datatype.
 
45
     *
 
46
     * @param ex the cause.
 
47
     */
 
48
    public InvalidTagException(Throwable ex)
 
49
    {
 
50
        super(ex);
 
51
    }
 
52
 
 
53
    /**
 
54
     * Creates a new InvalidTagException datatype.
 
55
     *
 
56
     * @param msg the detail message.
 
57
     */
 
58
    public InvalidTagException(String msg)
 
59
    {
 
60
        super(msg);
 
61
    }
 
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
        super(msg, ex);
 
72
    }
 
73
}
 
 
b'\\ No newline at end of file'