summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/rgens/parser/RecurLimitException.java
blob: faeffb3a7bfafb83ff935c272381b2f76912b99d (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
package bjc.rgens.parser;

/**
 * The exception thrown when a rule exceeds its recurrence limit
 *
 * @author student
 */
public class RecurLimitException extends GrammarException {
	/* Serialization ID. */
	private static final long serialVersionUID = -7287427479316953668L;

	/**
	 * Create a new grammar exception with the specified message.
	 *
	 * @param msg
	 * 	The message for this exception.
	 */
	public RecurLimitException(String msg) {
		super(msg);
	}

	/**
	 * Create a new grammar exception with the specified message and
	 * cause.
	 *
	 * @param msg
	 * 	The message for this exception.
	 *
	 * @param cause
	 * 	The cause of this exception.
	 */
	public RecurLimitException(String msg, Exception cause) {
		super(msg, cause);
	}
}