Project

General

Profile

« Previous | Next » 

Revision 78d24de8

Added by Andreas Kohlbecker over 6 years ago

installing and setting up better error handler

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/ui/RegistrationUI.java
12 12
import org.springframework.beans.factory.annotation.Qualifier;
13 13
import org.springframework.context.ApplicationEventPublisher;
14 14

  
15
import com.flowingcode.vaadin.addons.errorwindow.WindowErrorHandler;
15 16
import com.vaadin.annotations.Theme;
16 17
import com.vaadin.annotations.Title;
17 18
import com.vaadin.annotations.Viewport;
......
113 114
    @Override
114 115
    protected void init(VaadinRequest request) {
115 116

  
117
        setErrorHandler(new WindowErrorHandler(this, "Please contact the editsupport@bgbm.org for more information.</br></br>"
118
                + "<i>To help analyzing the problem please describe your actions that lead to this error and provide the error details from below in your email. "
119
                + "You also might want to add a sreenshot of the browser page in error.</i>"));
120

  
116 121
        navigator.setViewDisplay(viewDisplay);
117 122
        configureAccessDeniedView();
118 123

  

Also available in: Unified diff