ParserIOException
Home ] Up ] ParserException ] DivisionByZeroException ] [ ParserIOException ] ParserNumberFormatException ] UnbalancedParenthesesException ] UnexpectedExtraTokenException ] UnexpectedTokenFoundException ] UnsupportedFeatureException ]

 

 

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;
}
The page was last updated February 19, 2008