Package helma.scripting
Class ScriptingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
helma.scripting.ScriptingException
- All Implemented Interfaces:
Serializable
The base class for wrapped exceptions thrown by invocation of the scripting engine.
If the wrapped exception is a RhinoException, the script stack trace will be
prepended to the actual java stack trace in stack dumps.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScriptingException
(String message, Throwable cause) Construct a ScriptingException given an error message and wrapped exception. -
Method Summary
Modifier and TypeMethodDescriptionGet the java stack trace.Get the script stack, or null if none is availablevoid
void
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ScriptingException
Construct a ScriptingException given an error message and wrapped exception.- Parameters:
message
- the messagecause
- the original exception
-
-
Method Details
-
getScriptStackTrace
Get the script stack, or null if none is available- Returns:
- the script stack trace
-
getJavaStackTrace
Get the java stack trace.- Returns:
- the java stack trace
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-