summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/exceptions/UnknownPragmaException.java
blob: dec89a39407e1cb358e01feb782252275b0d2319 (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 UnknownPragmaException 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 UnknownPragmaException(final String cause) {
		super(cause);
	}

}