org.kuali.student.lum.program.client.rpc
Class AbstractCallback<T>
java.lang.Object
   org.kuali.student.common.ui.client.application.KSAsyncCallback<T>
org.kuali.student.common.ui.client.application.KSAsyncCallback<T>
       org.kuali.student.lum.program.client.rpc.AbstractCallback<T>
org.kuali.student.lum.program.client.rpc.AbstractCallback<T>
- All Implemented Interfaces: 
- com.google.gwt.user.client.rpc.AsyncCallback<T>
- public class AbstractCallback<T> 
- extends KSAsyncCallback<T>
- Author:
- Igor
 
 
| Method Summary | 
|  void | handleFailure(Throwable caught)Override this method to process any exceptions you wish to handle.
 | 
|  void | onFailure(Throwable caught)It is recommended that this method not be overrided, as it provides session timeout handling.
 | 
|  void | onSuccess(T result)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
loadingTask
private BlockingTask loadingTask
AbstractCallback
public AbstractCallback()
AbstractCallback
public AbstractCallback(String text)
onFailure
public void onFailure(Throwable caught)
- Description copied from class: KSAsyncCallback
- It is recommended that this method not be overrided, as it provides session timeout handling. 
 Instead the handleFailure method should be overriden to handle rpc call error.
 
- 
- Specified by:
- onFailurein interface- com.google.gwt.user.client.rpc.AsyncCallback<T>
- Overrides:
- onFailurein class- KSAsyncCallback<T>
 
- 
 
handleFailure
public void handleFailure(Throwable caught)
- Description copied from class: KSAsyncCallback
- Override this method to process any exceptions you wish to handle. The default implementation displays 
 an error dialog with the message and logs the exception.
 
- 
- Overrides:
- handleFailurein class- KSAsyncCallback<T>
 
- 
 
onSuccess
public void onSuccess(T result)
- 
 
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.