Class InterpreterDriver.InterpreterException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    InterpreterDriver

    public static class InterpreterDriver.InterpreterException
    extends java.lang.Exception
    Nested class for wrapping the exception throw by underlying interpreter while executing scripts
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InterpreterException​(java.lang.Exception ex)
      Construct a wrapper exception for given undelying exception.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String toString()
      Get a string representation for this object
      • Methods inherited from class java.lang.Throwable

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

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

      • InterpreterException

        public InterpreterException​(java.lang.Exception ex)
        Construct a wrapper exception for given undelying exception.
        Parameters:
        ex - the underlying exception thrown by the interpreter
    • Method Detail

      • toString

        public java.lang.String toString()
        Get a string representation for this object
        Overrides:
        toString in class java.lang.Throwable
        Returns:
        string representing the object