com.trassare.calculator.engine
Class Operation.OperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.trassare.calculator.engine.Operation.OperationException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Operation
public static class Operation.OperationException
- extends Exception
An exception to indicate an invalid number in an operation. Useful to
trigger a checked exception that the InfixCalculator can catch and handle.
- Version:
- 8 September 2006
- Author:
- Samuel T Trassare
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Operation.OperationException
public Operation.OperationException()
- Constructs an OperationException as an Exception.
Operation.OperationException
public Operation.OperationException(String s)
- Constructs a OperationException with error message s.
- Parameters:
s - the error message for this ScanException