KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > antlr > CharStreamIOException


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/CharStreamIOException.java#3 $
8  */

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

15 public class CharStreamIOException extends CharStreamException {
16     public IOException JavaDoc io;
17
18     public CharStreamIOException(IOException JavaDoc io) {
19         super(io.getMessage());
20         this.io = io;
21     }
22 }
23
Popular Tags