com.gwtplatform.dispatch.client
Interface ExceptionHandler
- All Known Implementing Classes:
- DefaultExceptionHandler
public interface ExceptionHandler
Implementations of this interface can be added to a
{com.gwtplatform.dispatch.shared.DispatchAsync @link 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 © 2010-2013 JBoss by Red Hat. All Rights Reserved.