KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > antlr > TokenStreamIOException


1 package antlr;
2
3 /* ANTLR Translator Generator
4  * Project led by Terence Parr at http://www.jGuru.com
5  * Software rights: http://www.antlr.org/RIGHTS.html
6  *
7  * $Id: //depot/code/org.antlr/main/main/antlr/TokenStreamIOException.java#3 $
8  */

9
10 import java.io.IOException JavaDoc;
11
12 /**
13  * Wraps an IOException in a TokenStreamException
14  */

15 public class TokenStreamIOException extends TokenStreamException {
16     public IOException JavaDoc io;
17
18     /**
19      * TokenStreamIOException constructor comment.
20      * @param s java.lang.String
21      */

22     public TokenStreamIOException(IOException JavaDoc io) {
23         super(io.getMessage());
24         this.io = io;
25     }
26 }
27
Popular Tags