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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package Torello.Java;

/**
 * This is an exception that occurs when parsing Java Method & Constructor Bodies for the 
 * JavaDoc Code-HiLiting Application; and it indicates that the method or constructor body passed
 * to the code-hiliting mechanism is not properly formatted.
 */
 public class CallableBodyException extends IllegalArgumentException
{
    /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX>  */
    public static final long serialVersionUID = 1;

    /** Constructs a {@code CallableBodyException} with no detail message. */
    public CallableBodyException()
    { super(); }

    /**
     * Constructs a {@code CallableBodyException} with the specified detail 
     * {@code 'message'}.
     * 
     * @param message A detailed message explaining the error that has occurred.
     */
    public CallableBodyException(String message)
    { super(message); }

    /**
     * Constructs an {@code CallableBodyException} with the specified detail 
     * {@code 'message'} and {@code 'cause'}.
     * 
     * <BR /><BR /><B CLASS=JDDescLabel>NOTE:</B>
     * 
     * <BR /><BR />The detail message associated with cause is not automatically incorporated into
     * this exception's detail message.
     * 
     * @param message the detail message (which is saved for later retrieval by the
     * {@code Throwable.getMessage()} method).
     * 
     * @param cause cause - the cause (which is saved for later retrieval by the
     * {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the
     * {@code 'cause'} is nonexistent or unknown.)
     */
    public CallableBodyException(String message, Throwable cause)
    { super(message, cause); }

    /**
     * Constructs a new exception with the specified {@code 'cause'} and a detail 
     * {@code 'message'} of {@code (cause==null ? null : cause.toString())}
     * (which typically contains the class and detail message of cause).
     * 
     * @param cause cause - the cause (which is saved for later retrieval by the
     * {@code Throwable.getCause()} method).  (A null value is permitted, and indicates that the
     * {@code cause} is nonexistent or unknown.)
     */
    public CallableBodyException(Throwable cause)
    { super(cause); }
}