public class ErrorEvent extends AbstractSmartEvent<HandleErrorHandler> implements Cancellable
jsObj
Constructor and Description |
---|
ErrorEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to suppress
HandleErrorCallback.handleError() |
protected void |
dispatch(HandleErrorHandler handler) |
static <S extends HasHandleErrorHandlers & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<HandleErrorHandler> |
getAssociatedType() |
DSRequest |
getRequest()
the DSRequest or DSRequest that was sent to the server
|
DSResponse |
getResponse()
the DSResponse or DSResponse object returned from the server
|
static com.google.gwt.event.shared.GwtEvent.Type<HandleErrorHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public static <S extends HasHandleErrorHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<HandleErrorHandler> getType()
protected void dispatch(HandleErrorHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<HandleErrorHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<HandleErrorHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<HandleErrorHandler>
public void cancel()
HandleErrorCallback.handleError()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public DSResponse getResponse()
public DSRequest getRequest()