1 package net.sf.jhunlang.jmorph.parser;
2
3 /***
4 * Exception thrown while parsing the affix and dictionary files.
5 */
6 public class ParseException extends Exception
7 {
8 /***
9 * Create a ParseException instance with no message.
10 */
11 public ParseException()
12 {}
13
14 /***
15 * Create a ParseException instance with the given message.
16 * @param msg the message
17 */
18 public ParseException(String msg)
19 {
20 super(msg);
21 }
22
23 /***
24 * Create a ParseException instance with the given cause and
25 * with the given message.
26 * @param msg the message
27 * @param cause the cause of the error
28 */
29 public ParseException(String msg, Throwable cause)
30 {
31 super(msg, cause);
32 }
33 }