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

com.googlecode.gwt.test.rpc.GwtRpcExceptionHandler Maven / Gradle / Ivy

There is a newer version: 0.63
Show newest version
package com.googlecode.gwt.test.rpc;

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

/**
 * 

* An interface which exposes one callback method to be called when an exception occurs during a RPC * service invocation. *

*

*

* The used instance of GwtRpcExceptionHandler is specified by * {@link RemoteServiceCreateHandler#getExceptionHandler()}, which can be overriden. *

* * @author Bertrand Paquet */ public interface GwtRpcExceptionHandler { /** * The callback method which is called if the RPC service invocation throws an exception. * * @param t The thrown exception. * @param callback The asynchrone callback provided by the RPC service caller. */ void handle(Throwable t, AsyncCallback callback); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy