Package | Description |
---|---|
org.htmlunit.javascript |
Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
|
org.htmlunit.javascript.host |
Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JavaScriptEngine.handleJavaScriptException(ScriptException scriptException,
boolean triggerOnError)
Handles an exception that occurred during execution of JavaScript code.
|
void |
SilentJavaScriptErrorListener.scriptException(HtmlPage page,
ScriptException scriptException) |
void |
JavaScriptErrorListener.scriptException(HtmlPage page,
ScriptException scriptException)
Informs about a javascript exceptions.
|
void |
DefaultJavaScriptErrorListener.scriptException(HtmlPage page,
ScriptException scriptException)
Informs about a javascript exceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
Window.triggerOnError(ScriptException e)
Triggers the
onerror handler, if one has been set. |
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.