summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/exceptions/BadPragmaFormat.java
blob: 48b5be0d77aadbde12948da0b3ab77a85e746578 (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
28
package bjc.utils.exceptions;

import java.util.InputMismatchException;

/**
 * The exception to throw whenever a pragma is used with invalid syntax.
 *
 * @author ben
 */
public class BadPragmaFormat extends InputMismatchException {
	/* Version ID for serialization. */
	private static final long serialVersionUID = 1288536477368021069L;

	/** Create a new exception */
	public BadPragmaFormat() {
		super();
	}

	/**
	 * Create a new exception with the given message.
	 *
	 * @param message
	 *                The message to explain why the exception was thrown.
	 */
	public BadPragmaFormat(final String message) {
		super(message);
	}
}