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