Package io.jmix.ui.exception
Class DefaultExceptionHandler
java.lang.Object
io.jmix.ui.exception.DefaultExceptionHandler
- All Implemented Interfaces:
ExceptionHandler
This exception handler comes into play if no other handler in the chain has handled the exception.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected Messages
-
Constructor Summary
ConstructorDescriptionDefaultExceptionHandler
(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
showDialog
(App app, AppUI ui, Throwable exception) protected void
showNotification
(App app, AppUI ui, Throwable exception)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
messages
-
-
Constructor Details
-
DefaultExceptionHandler
public DefaultExceptionHandler(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceExceptionHandler
-
showDialog
-
showNotification
-