java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException |
Exception that will be passed to the
onFailure(Throwable)
method when an incompatibility is
detected between a RemoteService
client and its corresponding
RemoteService
server.
The correct response to receiving an instance of this exception in the
onFailure(Throwable)
method is to get the application
into a state where a browser refresh can be done.
This exception can be caused by the following problems:
RemoteService
cannot be located via
forName(String)
on the server.RemoteService
interface is not implemented by the
RemoteServiceServlet
instance which is configured to process the request.RemoteService
interface.RemoteService
method invocation has
had fields added or removed.
Note that on the client, the getCause()
always return
null
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor used by RPC serialization.
| |||||||||||
Constructs an instance with the specified message.
| |||||||||||
Constructs an instance with the specified message and cause.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructor used by RPC serialization. Note that the client side code will always get a generic error message.
Constructs an instance with the specified message.
Constructs an instance with the specified message and cause.