01: package persistence.antlr;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.jGuru.com
05: * Software rights: http://www.antlr.org/license.html
06: *
07: */
08:
09: class ExceptionHandler {
10: // Type of the ANTLR exception class to catch and the variable decl
11: protected Token exceptionTypeAndName;
12: // The action to be executed when the exception is caught
13: protected Token action;
14:
15: public ExceptionHandler(Token exceptionTypeAndName_, Token action_) {
16: exceptionTypeAndName = exceptionTypeAndName_;
17: action = action_;
18: }
19: }
|