GWTP Dispatch client 0.6-redhat-1

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

Nested Class Summary
static class ExceptionHandler.Status
          ExceptionHandler's status enumeration.
 
Method Summary
 ExceptionHandler.Status onFailure(Throwable e)
          This method is called when an exception occurs.
 

Method Detail

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.

GWTP Dispatch client 0.6-redhat-1

Copyright © 2010-2012 ArcBees. All Rights Reserved.