001package Torello.HTML;
002
003/**
004 * Used to identify problems parsing or searching a {@code 'SRC'} attribute from an HTML
005 * <CODE>'&lt;IMG SRC=&#46;&#46;&#46;&gt;</CODE> Tag or any Tag that is expected to contain a
006 * {@code 'SRC'} attribute.
007 */
008public class SRCException extends IllegalArgumentException
009{
010    /** <EMBED CLASS="external-html" DATA-FILE-ID="SVUIDEX"> */
011    public static final long serialVersionUID = 1;
012
013    /**
014     * Constructs a new exception with the specified detail message.
015     * @param message the detail message.
016     */
017    public SRCException(String message)
018    { super(message); }
019
020    /**
021     * Constructs a new exception with the specified detail message, and cause-chain throwable.
022     * @param message The detail message (which is saved for later retrieval by the
023     * {@code Throwable.getMessage()} method).
024     * @param cause the cause (which is saved for later retrieval by the {@code Throwable.getCause()}
025     * method).  (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
026     */
027    public SRCException(String message, Throwable cause)
028    { super(message); initCause(cause); }
029}