Exception that will be passed to the {@link AsyncCallback#onFailure(Throwable)} method when an incompatibility isdetected between a {@link RemoteService} client and its corresponding{@link RemoteService} server.
The correct response to receiving an instance of this exception in the {@link AsyncCallback#onFailure(Throwable)} method is to get the applicationinto a state where a browser refresh can be done.
This exception can be caused by the following problems:
- The requested {@link RemoteService} cannot be located via{@link Class#forName(String)} on the server.
- The requested {@link RemoteService} interface is not implemented by the{@link com.google.gwt.user.server.rpc.RemoteServiceServlet RemoteServiceServlet}instance which is configured to process the request.
- The requested service method is not defined or inherited by the requested {@link RemoteService} interface.
- One of the types used in the {@link RemoteService} method invocation hashad fields added or removed.
- The client code receives a type from the server which it cannot deserialize.
Note that on the client, the {@link #getCause()} always returnnull
.