com.tensegrity.wpalo.client.async
Class Callback<T>

java.lang.Object
  extended by com.tensegrity.wpalo.client.async.Callback<T>
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback<T>
Direct Known Subclasses:
WaitCursorCallback

public abstract class Callback<T>
extends java.lang.Object
implements com.google.gwt.user.client.rpc.AsyncCallback<T>


Field Summary
protected static ILocalConstants constants
           
 
Constructor Summary
Callback()
           
Callback(java.lang.String errorMessage)
           
 
Method Summary
static void handle(java.lang.Throwable ex)
           
protected  boolean handled(java.lang.Throwable cause)
           
protected  void hideWaitCursor()
           
 void onFailure(java.lang.Throwable caught)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.rpc.AsyncCallback
onSuccess
 

Field Detail

constants

protected static final transient ILocalConstants constants
Constructor Detail

Callback

public Callback()

Callback

public Callback(java.lang.String errorMessage)
Method Detail

onFailure

public void onFailure(java.lang.Throwable caught)
Specified by:
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<T>

hideWaitCursor

protected final void hideWaitCursor()

handled

protected boolean handled(java.lang.Throwable cause)

handle

public static final void handle(java.lang.Throwable ex)