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