We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.
Interface ApplicationConnection.CommunicationErrorHandler
-
Enclosing class:
public static interface ApplicationConnection.CommunicationErrorHandler
Allows custom handling of communication errors.
-
-
Method Detail
-
onError
boolean onError​(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.
-
-