org.hudsonci.gwt.common.restygwt.internal
Class ServiceFailureNotifierImpl
java.lang.Object
org.hudsonci.gwt.common.restygwt.internal.ServiceFailureNotifierImpl
- All Implemented Interfaces:
- ServiceFailureNotifier
@Singleton
public class ServiceFailureNotifierImpl
- extends Object
- implements ServiceFailureNotifier
Default implementation of ServiceFailureNotifier.
The failure will be logged and the WaitPresenter.stopWaiting() will be called when necessary.
// FIXME: Probably want a generic component to handle operation success/failure bits and show/hide of the wait dialog.
- Since:
- 2.1.0
- Author:
- Jason Dillon, Jamie Whitehouse
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceFailureNotifierImpl
@Inject
public ServiceFailureNotifierImpl(AlertDialogPresenter alertDialogPresenter,
ServiceFailureNotifier.MessagesResource messages,
WaitPresenter waitWidget)
displayFailure
public void displayFailure(String message,
org.fusesource.restygwt.client.Method method,
Throwable cause)
- Specified by:
displayFailure in interface ServiceFailureNotifier
Copyright © 2004-2011 Hudson. All Rights Reserved.