Class DefaultErrorWindowFactory
java.lang.Object
com.flowingcode.vaadin.addons.errorwindow.DefaultErrorWindowFactory
- All Implemented Interfaces:
ErrorWindowFactory
Default implementation of
ErrorWindowFactory. Displays error details using an ErrorWindow.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshowError(ErrorDetails details) Displays the error details creating a new instance ofErrorWindow.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.flowingcode.vaadin.addons.errorwindow.ErrorWindowFactory
isProductionMode
-
Constructor Details
-
DefaultErrorWindowFactory
public DefaultErrorWindowFactory()
-
-
Method Details
-
showError
Displays the error details creating a new instance ofErrorWindow. The error window is displayed on the screen by invokingDialog.open().- Specified by:
showErrorin interfaceErrorWindowFactory- Parameters:
details- the error details to display
-