1 package persistence.antlr;2 3 /* ANTLR Translator Generator4 * Project led by Terence Parr at http://www.jGuru.com5 * Software rights: http://www.antlr.org/license.html6 *7 */8 9 import java.io.IOException ;10 11 /**12 * Wraps an IOException in a TokenStreamException13 */14 public class TokenStreamIOException extends TokenStreamException {15 public IOException io;16 17 /**18 * TokenStreamIOException constructor comment.19 * @param s java.lang.String20 */21 public TokenStreamIOException(IOException io) {22 super(io.getMessage());23 this.io = io;24 }25 }26