blob: ae33aba9683fed8c2487c612532fba380deed57f (
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
34
35
36
|
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);
}
}
|