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