blob: 67812de68f13b13e94c547b259816b736a86fb3f (
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);
}
}
|