public interface AsyncCallbackOnFailure
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable caught)
Called when an asynchronous call fails to complete normally.
|
void onFailure(Throwable caught)
IncompatibleRemoteServiceExceptions, InvocationExceptions, or checked
exceptions thrown by the service method are examples of the type of failures that can be passed
to this method.
If caught is an instance of an IncompatibleRemoteServiceException the
application should try to get into a state where a browser refresh can be safely done.
caught - failure encountered while executing a remote procedure callCopyright © 2015–2018. All rights reserved.