1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package Torello.HTML;

/**
 * Used to identify problems parsing or searching a {@code 'SRC'} attribute from an HTML
 * <CODE>'&lt;IMG SRC=&#46;&#46;&#46;&gt;</CODE> Tag or any Tag that is expected to contain a
 * {@code 'SRC'} attribute.
 */
public class SRCException extends IllegalArgumentException
{
    /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
    public static final long serialVersionUID = 1;

    /**
     * Constructs a new exception with the specified detail message.
     * @param message the detail message.
     */
    public SRCException(String message)
    { super(message); }

    /**
     * Constructs a new exception with the specified detail message, and cause-chain throwable.
     * 
     * @param message The detail message (which is saved for later retrieval by the
     * {@code Throwable.getMessage()} method).
     * 
     * @param cause the cause (which is saved for later retrieval by the
     * {@code Throwable.getCause()} method).  (A null value is permitted, and indicates that the
     * cause is nonexistent or unknown.)
     */
    public SRCException(String message, Throwable cause)
    { super(message); initCause(cause); }
}