Interface AsyncCallbackOnFailure
public interface AsyncCallbackOnFailure
-
Method Summary
-
Method Details
-
onFailure
Called when an asynchronous call fails to complete normally.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
caughtis an instance of anIncompatibleRemoteServiceExceptionthe application should try to get into a state where a browser refresh can be safely done.- Parameters:
caught- failure encountered while executing a remote procedure call
-