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: import java.io.IOException;
09:
10: /**
11: * Wrap an IOException in a CharStreamException
12: */
13: public class CharStreamIOException extends CharStreamException {
14: public IOException io;
15:
16: public CharStreamIOException(IOException io) {
17: super(io.getMessage());
18: this.io = io;
19: }
20: }
|