public class AsyncCallFailEvent extends GwtEvent<AsyncCallFailHandler>
AsyncCallFailHandler
,
AsyncCallStartEvent
,
AsyncCallSucceedEvent
GwtEvent.Type<H>
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(AsyncCallFailHandler handler) |
static void |
fire(EventBus source,
Throwable caught)
Fires a
AsyncCallFailEvent
into a source that has access to an EventBus . |
static void |
fire(HasHandlers source,
Throwable caught)
Deprecated.
Use
fire(EventBus, Throwable) instead. |
GwtEvent.Type<AsyncCallFailHandler> |
getAssociatedType() |
Throwable |
getCaught()
Access the
Throwable that was obtained when this asynchronous call failed. |
static GwtEvent.Type<AsyncCallFailHandler> |
getType() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public static void fire(EventBus source, Throwable caught)
AsyncCallFailEvent
into a source that has access to an EventBus
.source
- The source that fires this event (EventBus
).caught
- failure encountered while executing a remote procedure call.@Deprecated public static void fire(HasHandlers source, Throwable caught)
fire(EventBus, Throwable)
instead.AsyncCallFailEvent
into a source that has access to an EventBus
.source
- The source that fires this event (HasHandlers
).caught
- failure encountered while executing a remote procedure call.public static GwtEvent.Type<AsyncCallFailHandler> getType()
public GwtEvent.Type<AsyncCallFailHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<AsyncCallFailHandler>
protected void dispatch(AsyncCallFailHandler handler)
dispatch
in class GwtEvent<AsyncCallFailHandler>
public Throwable getCaught()
Throwable
that was obtained when this asynchronous call failed.PlaceRequest
or null
if no place request is
known.Copyright © 2010-2014 ArcBees. All Rights Reserved.