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