Class CalcException

  • All Implemented Interfaces:

    public class CalcException
    extends RuntimeException
    Class CalcException defines the exception objects used by the CalcParser (FormCalc scripting engine).

    Exception objects have but a single property: a CalcSymbol, which almost invariably is of type CalcTypeError. This architecture permits the FormCalc scripting engine to propagate errors easily up to the application, whenever errors are detected in the intermediate stages of the evaluatation of a FormCalc script.

    See Also:
    Serialized Form
    • Constructor Detail

      • CalcException

        public CalcException​(CalcSymbol oSym)
        Instantiates a CalcException object, whose. CalcSymbol property is a copy of the given object.
        oSym - the CalcParser object to be copied.