|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.browser.field2.BrowserFieldErrorHandler
public class BrowserFieldErrorHandler
| Constructor Summary | ||
|---|---|---|
protected |
BrowserFieldErrorHandler(BrowserField browserField)
Creates a new instance of the error handler |
|
| Method Summary | ||
|---|---|---|
void |
displayContentError(String url,
String errorMessage)
This method displays error information when a BrowserField's displayContent() method fails. |
|
void |
displayContentError(String url,
InputConnection connection,
Throwable t)
This method displays error information when a BrowserField's displayContent() method fails. |
|
BrowserField |
getBrowserField()
|
|
void |
navigationRequestError(BrowserFieldRequest request,
Throwable t)
This method displays information when a BrowserField's navigationRequest() method fails. |
|
void |
requestContentError(BrowserFieldRequest request,
Throwable t)
This method displays information when a BrowserField's requestContent() method fails. |
|
InputConnection |
resourceRequestError(BrowserFieldRequest request,
Throwable t)
This method displays information when a BrowserField's resourceRequest() method fails. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BrowserFieldErrorHandler(BrowserField browserField)
browserField - The BrowserField component to which this error handler belongs| Method Detail |
|---|
public void displayContentError(String url,
InputConnection connection,
Throwable t)
url - The web address of the web page generating the errorconnection - Since this class is meant to be overridden, this parameter can be used to store the error details provided by this method.t - The exception thrown by the web page
public void displayContentError(String url,
String errorMessage)
url - The web address of the web page generating the errorerrorMessage - An error message describing the error
public void requestContentError(BrowserFieldRequest request,
Throwable t)
request - The BrowserFieldRequest object that caused the requestContent() method to failt - The exception that was generated by the requestContent() method's failure
public InputConnection resourceRequestError(BrowserFieldRequest request,
Throwable t)
request - The BrowserFieldRequest object that caused the resourceRequest() method to failt - The exception that was generated by the requestContent() method's failure
public void navigationRequestError(BrowserFieldRequest request,
Throwable t)
request - The BrowserFieldRequest object that caused the navigationRequest() method to failt - The exception that was generated by the requestContent() method's failurepublic BrowserField getBrowserField()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.