summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/parserutils/ParserException.java
blob: 2a41009deeca346dba5d855dfc4aa0778fef15fb (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.parserutils;

/**
 * General superclass for exceptions thrown during parsing.
 * 
 * @author EVE
 *
 */
public class ParserException extends Exception {
	/**
	 * Create a new exception with the provided message.
	 * 
	 * @param msg The message for the exception.
	 */
	public ParserException(String msg) {
		super(msg);
	}
	
	/**
	 * Create a new exception with the provided message and cause.
	 * 
	 * @param msg The message for the exception.
	 * @param cause The cause of the exception.
	 */
	public ParserException(String msg, Exception cause) {
		super(msg, cause);
	}
}