001package Torello.HTML.Tools.JavaDoc;
002
003/**
004 * Exception that may be thrown by the <B>{@link HiLiter}</B> interface.
005 * 
006 * <BR /><BR />This exception may be thrown from the <B>{@code HiLiter Functional Interface}</B>
007 */
008public class HiLiteException extends Exception
009{
010    /** <EMBED CLASS="external-html" DATA-FILE-ID="SVUIDEX">  */
011    public static final long serialVersionUID = 1;
012
013    /** Constructs a <CODE>HiLiteException</CODE> with no detail message. */
014    public HiLiteException()
015    { super(); }
016
017    /**
018     * Constructs a <CODE>HiLiteException</CODE> with the specified detail message.
019     * 
020     * @param message the detail message.
021     */
022    public HiLiteException(String message)
023    { super(message); }
024
025    /**
026     * Constructs a new exception with the specified detail message and cause.
027     * 
028     * <BR /><BR /><B>NOTE:</B> The detail message associated with cause is not automatically
029     * incorporated in this exception's detail message.
030     * 
031     * @param message The detail message (which is saved for later retrieval by the
032     * {@code Throwable.getMessage()} method).
033     * 
034     * @param cause the cause (which is saved for later retrieval by the
035     * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the
036     * cause is nonexistent or unknown.)
037     */
038    public HiLiteException(String message, Throwable cause)
039    { super(message, cause); }
040
041    /**
042     * Constructs a new exception with the specified cause and a detail message of
043     * {@code (cause==null ? null : cause.toString())} (which typically contains the class and
044     * detail message of cause). This constructor is useful for exceptions that are little more
045     * than wrappers for other throwables.
046     * 
047     * @param cause The cause (which is saved for later retrieval by the
048     * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the
049     * cause is nonexistent or unknown.)
050     */
051    public HiLiteException(Throwable cause)
052    { super(cause); }
053}