com.vaadin.client
Interface ApplicationConnection.CommunicationErrorHandler

Enclosing class:
ApplicationConnection

public static interface ApplicationConnection.CommunicationErrorHandler

Allows custom handling of communication errors.


Method Summary
 boolean onError(java.lang.String details, int statusCode)
          Called when a communication error has occurred.
 

Method Detail

onError

boolean onError(java.lang.String details,
                int statusCode)
Called when a communication error has occurred. Returning true from this method suppresses error handling.

Parameters:
details - A string describing the error.
statusCode - The HTTP status code (e.g. 404, etc).
Returns:
true if the error reporting should be suppressed, false to perform normal error reporting.


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.