summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/exceptions/DirectionInvalid.java
blob: 25f6cf8ee3571db46d4c7bd082091e49d827d7c9 (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 DirectionInvalid extends IllegalArgumentException {

	/**
	 * Version for serialization
	 */
	private static final long serialVersionUID = 6852151917518831932L;

	/**
	 * Create a new {@link DirectionInvalid} with the given cause
	 *
	 * @param cause
	 *              The situation that resulting in this exit being thrown
	 */
	public DirectionInvalid(String cause) {
		super(cause);
	}

}