| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| TagNotFoundException |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * @author : Paul Taylor | |
| 3 | * @author : Eric Farng | |
| 4 | * | |
| 5 | * Version @version:$Id: TagNotFoundException.java,v 1.4 2008/01/01 15:12:57 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 | * Thrown if the tag o isn't found. This is different from | |
| 26 | * the <code>InvalidTagException</code>. Each tag has an | |
| 27 | * ID string or some way saying that it simply exists. If this string is | |
| 28 | * missing, <code>TagNotFoundException</code> is thrown. If the ID string | |
| 29 | * exists, then any other error while reading throws an | |
| 30 | * <code>InvalidTagException</code>. | |
| 31 | * | |
| 32 | * @author Eric Farng | |
| 33 | * @version $Revision: 1.4 $ | |
| 34 | */ | |
| 35 | public class TagNotFoundException extends TagException | |
| 36 | { | |
| 37 | /** | |
| 38 | * Creates a new TagNotFoundException datatype. | |
| 39 | */ | |
| 40 | public TagNotFoundException() | |
| 41 | 0 | { |
| 42 | 0 | } |
| 43 | ||
| 44 | /** | |
| 45 | * Creates a new TagNotFoundException datatype. | |
| 46 | * | |
| 47 | * @param ex the cause. | |
| 48 | */ | |
| 49 | public TagNotFoundException(Throwable ex) | |
| 50 | { | |
| 51 | 0 | super(ex); |
| 52 | 0 | } |
| 53 | ||
| 54 | /** | |
| 55 | * Creates a new TagNotFoundException datatype. | |
| 56 | * | |
| 57 | * @param msg the detail message. | |
| 58 | */ | |
| 59 | public TagNotFoundException(String msg) | |
| 60 | { | |
| 61 | 1010 | super(msg); |
| 62 | 1010 | } |
| 63 | ||
| 64 | /** | |
| 65 | * Creates a new TagNotFoundException datatype. | |
| 66 | * | |
| 67 | * @param msg the detail message. | |
| 68 | * @param ex the cause. | |
| 69 | */ | |
| 70 | public TagNotFoundException(String msg, Throwable ex) | |
| 71 | { | |
| 72 | 0 | super(msg, ex); |
| 73 | 0 | } |
| 74 | } |