summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/exceptions/InvalidDirectionException.java
blob: 216953c623c241daf377f3a6367f8b62173266db (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
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);
	}

}