com.trassare.calculator.engine
Class ExpressionScanner.ScanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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