public interface HasHandleErrorHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addHandleErrorHandler(HandleErrorHandler handler)
If you define this method on a DataSource, it will be called whenever the server returns a DSResponse with a status
other than
STATUS_SUCCESS . |
com.google.gwt.event.shared.HandlerRegistration addHandleErrorHandler(HandleErrorHandler handler)
STATUS_SUCCESS
. You can use this hook to do
DataSource-specific error handling. Unless you call ErrorEvent.cancel()
,
HandleErrorCallback.handleError()
will be called by
Smart GWT right after this method completes.handler
- the handleError handlerHandlerRegistration
used to remove this handler