001 package helliker.id3;
002
003 /*
004 Copyright (C) 2001 Jonathan Hilliker
005 This library is free software; you can redistribute it and/or
006 modify it under the terms of the GNU Lesser General Public
007 License as published by the Free Software Foundation; either
008 version 2.1 of the License, or (at your option) any later version.
009 This library is distributed in the hope that it will be useful,
010 but WITHOUT ANY WARRANTY; without even the implied warranty of
011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 Lesser General Public License for more details.
013 You should have received a copy of the GNU Lesser General Public
014 License along with this library; if not, write to the Free Software
015 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
016 */
017 /**
018 * Description: This exception is thrown by the Playlist class when an error is
019 * encountered while parsing an existing playlist.
020 */
021
022
023 public class PlaylistException extends ID3Exception {
024
025 /**
026 * Create a PlaylistException with a default message
027 */
028 public PlaylistException() {
029 super("The playlist file is corrupt.");
030 }
031
032
033 /**
034 * Create an PlaylistException with a specified message
035 *
036 *@param msg the message for this exception
037 */
038 public PlaylistException(String msg) {
039 super(msg);
040 }
041
042 }
043