blob: b30554215ac3dfd6068ce30c4f8e9b5db6c1c2b7 (
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
|
package bjc.utils.exceptions;
/**
* Exception thrown when an operation has finished, but still has more input
* that has not been processed.
*
* @author Ben Culkin
*
*/
public class OperandsRemaining extends RuntimeException {
private static final long serialVersionUID = 4848222659854671315L;
/**
* Create a new OperandsRemaining exception with a default message.
*/
public OperandsRemaining() {
super("Operation had input left-over");
}
/**
* Create a new OperandsRemaining exception with a specific message.
*
* @param msg
* The message of the exception.
*/
public OperandsRemaining(String msg) {
super(msg);
}
}
|