org.kuali.student.common.ui.client.security
Class AsyncCallbackFailureHandler
java.lang.Object
org.kuali.student.common.ui.client.security.AsyncCallbackFailureHandler
public class AsyncCallbackFailureHandler
- extends Object
Default KS implementation of failure handling.
Implementing institution should override this class to
custom handle failures.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionTimeoutHandler
protected static final SessionTimeoutHandler sessionTimeoutHandler
- Attempt to provide default session timeout handling.
AsyncCallbackFailureHandler
public AsyncCallbackFailureHandler()
onFailure
public void onFailure(Throwable caught)
handleFailure
public void handleFailure(Throwable caught)
- 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.
- Parameters:
caught
-
handleTimeout
public void handleTimeout(Throwable caught)
- By default this defers to handleFailure. Override this handle a rpc failure due to timeout differently
from other exceptions.
- Parameters:
caught
-
handleVersionMismatch
public void handleVersionMismatch(Throwable caught)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.