-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUninitializedObjectException.java
More file actions
33 lines (28 loc) · 1.09 KB
/
UninitializedObjectException.java
File metadata and controls
33 lines (28 loc) · 1.09 KB
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
/** An exception thrown when a method is called on an object that has not been initialized
* @author Billy Barbaro
*/
public class UninitializedObjectException extends Exception {
/** Constructor creating an instance of the exception */
public UninitializedObjectException() {
super();
}
/** Constructor creating an instance of the exception that displays a message
* @param message the string to be displayed when the exception is thrown
*/
public UninitializedObjectException(String message) {
super(message);
}
/** Constructor creating an instance of the exception that displays a message and provides the stack
* @param message the string to be displayed when the exception is thrown
* @param cause the execution stack at the time of the error
*/
public UninitializedObjectException(String message, Throwable cause) {
super(message, cause);
}
/** Constructor creating an instance of the exception that provides the stack
* @param cause the execution stack at the time of the error
*/
public UninitializedObjectException(Throwable cause) {
super(cause);
}
}