Example usage for com.vaadin.server ErrorEvent findErrorHandler

List of usage examples for com.vaadin.server ErrorEvent findErrorHandler

Introduction

In this page you can find the example usage for com.vaadin.server ErrorEvent findErrorHandler.

Prototype

public static ErrorHandler findErrorHandler(VaadinSession session) 

Source Link

Document

Method for finding the error handler for the given session.

Usage

From source file:org.semanticsoft.vaaclipse.app.servlet.VaadinOSGiCommunicationManager.java

License:Open Source License

private void handleConnectorRelatedException(ClientConnector connector, Throwable throwable) {
    ErrorEvent errorEvent = new ConnectorErrorEvent(connector, throwable);
    ErrorHandler handler = ErrorEvent.findErrorHandler(connector);
    handler.error(errorEvent);/*w  w  w.  j  a va 2  s .c o m*/
}