summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/exceptions/PragmaFormatException.java
blob: 088b7eb208bcc178d892634e68433e3410abe4b2 (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
29
30
31
package bjc.utils.exceptions;

import java.util.InputMismatchException;

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

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

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