summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/parserutils/ParserException.java
blob: 5e53a8bcb6c9bfb83e68df8fef86991bb5128dec (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
32
33
package bjc.utils.parserutils;

/**
 * General superclass for exceptions thrown during parsing.
 *
 * @author EVE
 *
 */
public class ParserException extends Exception {
	private static final long serialVersionUID = 631298568113373233L;

	/**
	 * Create a new exception with the provided message.
	 *
	 * @param msg
	 *        The message for the exception.
	 */
	public ParserException(final 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(final String msg, final Exception cause) {
		super(msg, cause);
	}
}