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
57
58 | package Torello.Java;
/**
* This class is meant to inform a user that some code-exeuction path has a reached a point where
* the developer has not finished writing the Java that needs to run in order to complete whatever
* instructions the user is expecting to be run.
*
* <BR /><BR />In essence, this is an <I><B>"I'm not finished with this part, yet."</B></I>
* Which, generally, is something everyone has been through. There are times when this is better
* than returning bogus or dummy values.
*/
public class ToDoException extends RuntimeException
{
/** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
public static final long serialVersionUID = 1;
/** Constructs a {@code ToDoException} with no detail message. */
public ToDoException()
{ super(); }
/**
* Constructs a {@code ToDoException} with the specified detail message.
* @param message the detail message.
*/
public ToDoException(String message)
{ super(message); }
/**
* Constructs a new {@code ToDoException} with the specified detail message and cause.
*
* <BR /><BR /><DIV CLASS=JDHint>
* <B STYLE='color:red;'>Note:</B> The detail message associated with cause is not
* automatically incorporated into this exception's detail message.
* </DIV>
*
* @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 ToDoException(String message, Throwable cause)
{ super(message, cause); }
/**
* Constructs a new {@code ToDoException} with the specified cause and a detail message
* of {@code (cause==null ? null : cause.toString())} (which typically contains the class and
* detail message of cause). This constructor is useful for exceptions that are little more
* than wrappers for other throwables.
*
* @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 ToDoException(Throwable cause)
{ super(cause); }
}
|