summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/exceptions/PragmaFormatException.java
blob: 3d7187e00ea4d9f0fac5430920c57a41d1be4b1c (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
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 with the given message
	 * @param message The message to explain why the exception was thrown
	 */
	public PragmaFormatException(String message) {
		super(message);
	}
	
	/**
	 * Create a new exception
	 */
	public PragmaFormatException() {
		super();
	}
}