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 an {@code 'HREF'} attribute from an HTML
 * <CODE>'&lt;A HREF=&#46;&#46;&#46;&gt;</CODE> (Anchor) Tag or any Tag that is expected to contain
 * an {@code 'HREF'} attribute.
 */
public class HREFException 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 HREFException(String message)
    { super(message); }

    /**
     * Constructs a new exception with the specified detail message, cause-chain throwable, and one 
     * {@code public, final} parameter: {@code hrefValue}.
     * 
     * @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 non-existent or unknown.)
     */
    public HREFException(String message, Throwable cause)
    { super(message); initCause(cause); }
}