List of usage examples for com.vaadin.server ErrorEvent findErrorHandler
public static ErrorHandler findErrorHandler(VaadinSession session)
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*/ }