Package cs2110

Class UnboundVariableException

All Implemented Interfaces:
Serializable

public class UnboundVariableException extends Exception
Indicates that a variable needed to be evaluated, but no value had been assigned to it.
See Also:
  • Constructor Details

    • UnboundVariableException

      public UnboundVariableException(String name)
      Create a new UnboundVariableException indicating that the variable `name` was evaluated but had no assigned value.
  • Method Details

    • name

      public String name()
      Return the name of the unbound variable that lead to this exception.