01: package antlr;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.cs.usfca.edu
05: * Software rights: http://www.antlr.org/license.html
06: */
07:
08: public class SemanticException extends RecognitionException {
09: public SemanticException(String s) {
10: super (s);
11: }
12:
13: /** @deprecated As of ANTLR 2.7.2 use {@see #SemanticException(char, String, int, int) } */
14: public SemanticException(String s, String fileName, int line) {
15: this (s, fileName, line, -1);
16: }
17:
18: public SemanticException(String s, String fileName, int line,
19: int column) {
20: super(s, fileName, line, column);
21: }
22: }
|