public interface JavaScriptErrorListener
| Modifier and Type | Method and Description |
|---|---|
void |
loadScriptError(HtmlPage htmlPage,
URL scriptUrl,
Exception exception)
Informs about an exception during load of an javascript file refereed from a page.
|
void |
malformedScriptURL(HtmlPage htmlPage,
String url,
MalformedURLException malformedURLException)
Informs about a malformed url referencing to to script.
|
void |
scriptException(HtmlPage htmlPage,
ScriptException scriptException)
Informs about a javascript exceptions.
|
void |
timeoutError(HtmlPage htmlPage,
long allowedTime,
long executionTime)
Informs about a javascript timeout error.
|
void scriptException(HtmlPage htmlPage, ScriptException scriptException)
htmlPage - the page that causes the problemscriptException - the occurred script exceptionvoid timeoutError(HtmlPage htmlPage, long allowedTime, long executionTime)
htmlPage - the page that causes the problemallowedTime - the max time allowed for the executionexecutionTime - the already consumed timevoid malformedScriptURL(HtmlPage htmlPage, String url, MalformedURLException malformedURLException)
htmlPage - the page that causes the problemurl - the malformed urlmalformedURLException - the occurred exceptionvoid loadScriptError(HtmlPage htmlPage, URL scriptUrl, Exception exception)
htmlPage - the page that causes the problemscriptUrl - the url to load the script fromexception - the occurred exceptionCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.