public class WrappedException extends EvaluatorException
Used by the JavaScript runtime to wrap and propagate exceptions that occur during runtime.
| Constructor and Description |
|---|
WrappedException(Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getWrappedException()
Get the wrapped exception.
|
Object |
unwrap()
Deprecated.
Use
getWrappedException() instead. |
getColumnNumber, getLineNumber, getLineSource, getSourceNamecolumnNumber, details, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyleaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic WrappedException(Throwable exception)
public Throwable getWrappedException()
@Deprecated public Object unwrap()
getWrappedException() instead.Copyright © 2023 HtmlUnit. All rights reserved.