blob: ca83b3031765facc836065de3e0e1c78e0d477db (
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
|
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);
}
}
|