infix2postfix
Class InvalidOperandException

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

public class InvalidOperandException
extends java.lang.Exception

This exception is used to indicate an invalid operand for PostfixEvaluator object. This exception should be thrown when a symbol doesn't match the "validity criteria" for the operand 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
InvalidOperandException()
           
InvalidOperandException(java.lang.String arg0)
           
InvalidOperandException(java.lang.String arg0, java.lang.Throwable arg1)
           
InvalidOperandException(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

InvalidOperandException

public InvalidOperandException()

InvalidOperandException

public InvalidOperandException(java.lang.String arg0)

InvalidOperandException

public InvalidOperandException(java.lang.Throwable arg0)

InvalidOperandException

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