trassare.com

com.trassare.calculator.engine
Class ExpressionScanner.ScanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.trassare.calculator.engine.ExpressionScanner.ScanException
All Implemented Interfaces:
Serializable
Enclosing class:
ExpressionScanner

public static class ExpressionScanner.ScanException
extends RuntimeException

An exception to indicate an IO error in the scanner.
Useful to avoid the checked exception IOException.
CS 152, Fall, 2005
Programming Assignment #1

Version:
27 September 2005
Author:
Kenneth Louden
See Also:
Serialized Form

Constructor Summary
ExpressionScanner.ScanException()
          Constructs a ScanException as a RuntimeException.
ExpressionScanner.ScanException(String s)
          Constructs a ScanException with error message s.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressionScanner.ScanException

public ExpressionScanner.ScanException()
Constructs a ScanException as a RuntimeException.


ExpressionScanner.ScanException

public ExpressionScanner.ScanException(String s)
Constructs a ScanException with error message s.

Parameters:
s - the error message for this ScanException

trassare.com