ca.bcit.cst.comp2526.assign2b.solution
Class InvalidOperationTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.bcit.cst.comp2526.assign2b.solution.InvalidOperationTypeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidOperationTypeException
extends java.lang.Exception

Thrown to indicate that an operation type is not valid for a calculator.

See Also:
Serialized Form

Constructor Summary
InvalidOperationTypeException(char c)
          Constructs an InvalidOperationTypeException with the specified code.
 
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

InvalidOperationTypeException

public InvalidOperationTypeException(char c)
Constructs an InvalidOperationTypeException with the specified code.

Parameters:
c - the invalid operation type.