Class WrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mozilla.javascript.RhinoException
org.mozilla.javascript.EvaluatorException
org.mozilla.javascript.WrappedException
- All Implemented Interfaces:
Serializable
A wrapper for runtime exceptions.
Used by the JavaScript runtime to wrap and propagate exceptions that occur during runtime.
- Author:
- Norris Boyd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EvaluatorException
getColumnNumber, getLineNumber, getLineSource, getSourceNameMethods inherited from class RhinoException
columnNumber, details, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyleMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrappedException
- See Also:
-
-
Method Details
-
getWrappedException
Get the wrapped exception.- Returns:
- the exception that was presented as a argument to the constructor when this object was created
-
unwrap
Deprecated.UsegetWrappedException()instead.
-
getWrappedException()instead.