001 package org.rakeshv.xml.album;
002
003 /**
004 * A custom exception that is used when any kind of exceptions are
005 * encountered when interacting with the JDOM package. Instances of
006 * this exception are also thrown, when implementation specific error
007 * conditions are encountered.
008 *
009 * <p>© Copyright 2003 Rakesh Vidyadharan</p>
010 *
011 * @author Rakesh Vidyadharan 2003 October 31
012 * @version $Id: AlbumException.java,v 1.2 2004/05/26 11:42:40 rakesh Exp $
013 */
014 public class AlbumException extends Exception
015 {
016 /**
017 * Create a new exception with the specified message.
018 *
019 * @param message - The message that describes the problem.
020 */
021 public AlbumException( String message )
022 {
023 super( message );
024 }
025
026 /**
027 * Create a new exception with the specified message and instance of
028 * <code>Throwable</code> that caused the problem.
029 *
030 * @param message - The message that describes the problem.
031 * @param exception - The exception that caused this
032 * instance of the exception to be thrown.
033 */
034 public AlbumException( String message, Throwable exception )
035 {
036 super( message, exception );
037 }
038 }