KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > persistence > antlr > SemanticException


1 package persistence.antlr;
2
3 /* ANTLR Translator Generator
4  * Project led by Terence Parr at http://www.jGuru.com
5  * Software rights: http://www.antlr.org/license.html
6  *
7  */

8
9 public class SemanticException extends RecognitionException {
10     public SemanticException(String JavaDoc s) {
11         super(s);
12     }
13
14     /** @deprecated As of ANTLR 2.7.2 use {@see #SemanticException(char, String, int, int) } */
15     public SemanticException(String JavaDoc s, String JavaDoc fileName, int line) {
16         this(s, fileName, line, -1);
17     }
18
19     public SemanticException(String JavaDoc s, String JavaDoc fileName, int line, int column) {
20         super(s, fileName, line, column);
21     }
22 }
23
Popular Tags