package parser;
import java.io.IOException;
/**
* Class to represent an IOException when encountered in the parser
*
* @author Bryan J. Higgs
*/
public class ParserIOException extends ParserException
{
public ParserIOException(String line, int offset, IOException ioe)
{
super(line, offset);
m_ioe = ioe;
}
@Override
public String getMessage()
{
return "An IOException occurred during parsing";
}
/// Private data ///
private IOException m_ioe;
}
|