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: * Wraps an IOException in a TokenStreamException
13: */
14: public class TokenStreamIOException extends TokenStreamException {
15: public IOException io;
16:
17: /**
18: * TokenStreamIOException constructor comment.
19: * @param s java.lang.String
20: */
21: public TokenStreamIOException(IOException io) {
22: super(io.getMessage());
23: this.io = io;
24: }
25: }
|