org.norecess.citkit.environment
Class InvalidVariableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.norecess.citkit.environment.InvalidVariableException
All Implemented Interfaces:
java.io.Serializable

public class InvalidVariableException
extends java.lang.RuntimeException

Indicates that a variable is being used incorrectly. This is primarily for the methods of the Environment class. Potential problems for a variable include (but aren't limited to): re-declaring a variable in the same scope; retreiving the value of an undeclared variable; and setting the value of an undeclared variable.

See Also:
Environment, Serialized Form

Constructor Summary
InvalidVariableException(java.lang.String message, ISymbol identifier)
           
 
Method Summary
 ISymbol getIdentifier()
           
 
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

InvalidVariableException

public InvalidVariableException(java.lang.String message,
                                ISymbol identifier)
Method Detail

getIdentifier

public ISymbol getIdentifier()