Package org.mozilla.javascript
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:
- java.io.Serializable
 
 public class WrappedException extends EvaluatorException A wrapper for runtime exceptions.Used by the JavaScript runtime to wrap and propagate exceptions that occur during runtime. - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description WrappedException(java.lang.Throwable exception)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.ThrowablegetWrappedException()Get the wrapped exception.java.lang.Objectunwrap()Deprecated.UsegetWrappedException()instead.- 
Methods inherited from class org.mozilla.javascript.EvaluatorExceptiongetColumnNumber, getLineNumber, getLineSource, getSourceName
 - 
Methods inherited from class org.mozilla.javascript.RhinoExceptioncolumnNumber, details, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyle
 
- 
 
- 
- 
- 
Method Detail- 
getWrappedExceptionpublic java.lang.Throwable getWrappedException() Get the wrapped exception.- Returns:
- the exception that was presented as a argument to the constructor when this object was created
 
 - 
unwrap@Deprecated public java.lang.Object unwrap() Deprecated.UsegetWrappedException()instead.
 
- 
 
-