1 package antlr;2 3 /* ANTLR Translator Generator4 * Project led by Terence Parr at http://www.jGuru.com5 * Software rights: http://www.antlr.org/RIGHTS.html6 *7 * $Id: //depot/code/org.antlr/main/main/antlr/CharStreamIOException.java#3 $8 */9 10 import java.io.IOException ;11 12 /**13 * Wrap an IOException in a CharStreamException14 */15 public class CharStreamIOException extends CharStreamException {16 public IOException io;17 18 public CharStreamIOException(IOException io) {19 super(io.getMessage());20 this.io = io;21 }22 }23