Package com.vaadin.client
Interface ApplicationConnection.CommunicationErrorHandler
-
- Enclosing class:
- ApplicationConnection
public static interface ApplicationConnection.CommunicationErrorHandlerAllows custom handling of communication errors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonError(String details, int statusCode)Called when a communication error has occurred.
-
-
-
Method Detail
-
onError
boolean onError(String details, int statusCode)
Called when a communication error has occurred. Returningtruefrom 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.
-
-