vaadin/src/main/java/net/typedrest/vaadin/views/AbstractEndpointView.java
protected void onError(Exception ex) {
        Notification.show("Error", ex.getLocalizedMessage(), Notification.Type.ERROR_MESSAGE);
    }
protected void onError(Exception ex) {
        Notification.show("Error", ex.getLocalizedMessage(), Notification.Type.ERROR_MESSAGE);
    }
Handler for errors reported by REST endpoints.

@param ex The exception reported by the REST endpoint.