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