onError method of the Callback interface

Documentation Menu

Called by the service when an error occurs.

This method is to be implemented on the client side, which may include displaying the error description to the user or handling it otherwise.

void onError( Exception error )



The Exception object for the error that has occurred.