KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > persistence > antlr > CharStreamIOException


1 package persistence.antlr;
2
3 /* ANTLR Translator Generator
4  * Project led by Terence Parr at http://www.jGuru.com
5  * Software rights: http://www.antlr.org/license.html
6  *
7  */

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

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