|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaScriptErrorListener
A listener for JavaScript exceptions.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void scriptException(HtmlPage htmlPage,
ScriptException scriptException)
htmlPage - the page that causes the problemscriptException - the occurred script exception
void timeoutError(HtmlPage htmlPage,
long allowedTime,
long executionTime)
htmlPage - the page that causes the problemallowedTime - the max time allowed for the executionexecutionTime - the already consumed time
void malformedScriptURL(HtmlPage htmlPage,
String url,
MalformedURLException malformedURLException)
htmlPage - the page that causes the problemurl - the malformed urlmalformedURLException - the occurred exception
void loadScriptError(HtmlPage htmlPage,
URL scriptUrl,
Exception exception)
htmlPage - the page that causes the problemscriptUrl - the url to load the script fromexception - the occurred exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||