summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/exceptions/UnknownPragma.java
blob: 0f2f7c455928e8c2cbc0ca68b6149399c890799a (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
package bjc.utils.exceptions;

import java.util.InputMismatchException;

/**
 * Represents a error from encountering a unknown pragma.
 *
 * @author ben
 */
public class UnknownPragma extends InputMismatchException {
	/* Version ID for serialization. */
	private static final long serialVersionUID = -4277573484926638662L;

	/**
	 * Create a new exception with the given cause.
	 *
	 * @param cause
	 *              The cause for throwing this exception.
	 */
	public UnknownPragma(final String cause) {
		super(cause);
	}

}