summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/esodata/ClosedSpoolException.java
blob: ed94222ae8c75b4794666b5b255fd8a447bc3c43 (plain)
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
package bjc.esodata;

/**
 * Exception thrown for attempting to do something with a closed spool that you
 * should not have.
 * 
 * @author bjcul
 *
 */
public class ClosedSpoolException extends RuntimeException {
	private static final long serialVersionUID = 2846671972910718257L;

	/**
	 * Create a new default closed spool exception
	 */
	public ClosedSpoolException() {
		super();
	}

	/**
	 * Create a new closed spool exception with a given message and cause.
	 * 
	 * @param message The message for the exception.
	 * @param cause   The cause of the exception.
	 */
	public ClosedSpoolException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * Create a new closed spool exception with a given message.
	 * 
	 * @param message The message for the exception
	 */
	public ClosedSpoolException(String message) {
		super(message);
	}

	/**
	 * Create a new closed spool exception with a given cause.
	 * 
	 * @param cause The cause for the exception.
	 */
	public ClosedSpoolException(Throwable cause) {
		super(cause);
	}

}