net.customware.gwt.dispatch.client
Interface ExceptionHandler
- All Known Implementing Classes:
- DefaultExceptionHandler
public interface ExceptionHandler
Implementations of this interface can be added to a DispatchAsync implementation
to intercept exceptions which return from further up the chain.
- Author:
- David Peterson
onFailure
ExceptionHandler.Status onFailure(Throwable e)
- This method is called when an exception occurs. Return
ExceptionHandler.Status.STOP
to indicate that the exception has been handled and further processing should
not occur. Return ExceptionHandler.Status.CONTINUE to indicate that further processing
should occur.
- Parameters:
e - The exception.
- Returns:
- The status after execution.
Copyright © 2011 customware.net. All Rights Reserved.