All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.swm.commons.mobile.client.utils.AsyncCallbackSuccess Maven / Gradle / Ivy

There is a newer version: 3.1
Show newest version
package de.swm.commons.mobile.client.utils;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * Ansync call back with empty onError method.
 *
 * @param  the type
 * @author wiese.daniel
 *         
* copyright (C) 2012, Stadtwerke München GmbH */ public abstract class AsyncCallbackSuccess implements AsyncCallback { /** * Called when an asynchronous call fails to complete normally. * {@link com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException}s, {@link com.google.gwt.user.client.rpc.InvocationException}s, * 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 * {@link com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException} the application should try to * get into a state where a browser refresh can be safely done. *

* * @param caught failure encountered while executing a remote procedure call */ @Override public void onFailure(Throwable caught) { } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy