001package Torello.Java.Additional;
002
003/**
004 * This signifies that the Processing or Parsing of a Java {@code '.class'} File's Constant-Pool 
005 * has failed.
006 */
007public class ConstantPoolError extends Error
008{
009    /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX>  */
010    public static final long serialVersionUID = 1;
011
012    /** Constructs a new error with null as its detail message. */
013    ConstantPoolError()
014    { super(); }
015
016    /**
017     * Constructs a new error with the specified detail message.
018     *
019     * @param message The detail message. The detail message is saved for later retrieval by the
020     * {@code Throwable.getMessage()} method.
021     */
022    ConstantPoolError(String message)
023    { super(message); }
024
025    /**
026     * Constructs a new error 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 error's detail message.
030     *
031     * @param message The detail message. The detail message is saved for later retrieval by
032     * the {@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    ConstantPoolError(String message, Throwable cause)
039    { super(message, cause); }
040
041    /**
042     * Constructs a new error 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).
045     *
046     * @param cause  The cause which is saved for later retrieval by the
047     * {@code Throwable.getCause()} method).
048     */
049    ConstantPoolError(Throwable cause)
050    { super(cause); }
051}