de.swm.commons.mobile.client.utils.AsyncCallbackSuccess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swm-mobile Show documentation
Show all versions of swm-mobile Show documentation
GWT Bibliothek fuer Mobile Plattformen der SWM
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) {
}
}