Class CalcException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CalcException
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      CalcException​(CalcSymbol oSym)
      Instantiates a CalcException object, whose.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CalcException

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