blob: d20b2d1b075b0c32fde606141329bf300c3c1ba7 (
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
|
package bjc.utils.exceptions;
/**
* Represents the condition where a direction has been used in a improper manner
*
* @author ben
*
*/
public class InvalidDirectionException extends IllegalArgumentException {
/**
* Version for serialization
*/
private static final long serialVersionUID = 6852151917518831932L;
/**
* Create a new {@link InvalidDirectionException} with the given cause
*
* @param cause
* The situation that resulting in this exit being thrown
*/
public InvalidDirectionException(String cause) {
super(cause);
}
}
|