infix2postfix
Class InvalidOperatorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byinfix2postfix.InvalidOperatorException
All Implemented Interfaces:
java.io.Serializable

public class InvalidOperatorException
extends java.lang.Exception

This exception is used to indicate an invalid operator for PostfixEvaluator object. This exception should be thrown when a symbol doesn't match the "validity criteria" for the operator in the postfix expression.

Author:
Maulin H. Vasavada
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
InvalidOperatorException()
           
InvalidOperatorException(java.lang.String arg0)
           
InvalidOperatorException(java.lang.String arg0, java.lang.Throwable arg1)
           
InvalidOperatorException(java.lang.Throwable arg0)
           
 
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

InvalidOperatorException

public InvalidOperatorException()

InvalidOperatorException

public InvalidOperatorException(java.lang.String arg0)

InvalidOperatorException

public InvalidOperatorException(java.lang.Throwable arg0)

InvalidOperatorException

public InvalidOperatorException(java.lang.String arg0,
                                java.lang.Throwable arg1)