public class DefaultExceptionHandler extends java.lang.Object implements ExceptionHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected io.jmix.core.Messages |
messages |
| Constructor and Description |
|---|
DefaultExceptionHandler(org.springframework.context.ApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(com.vaadin.server.ErrorEvent event,
App app)
Handle an exception.
|
protected void |
showDialog(App app,
AppUI ui,
java.lang.Throwable exception) |
protected void |
showNotification(App app,
AppUI ui,
java.lang.Throwable exception) |
protected org.springframework.context.ApplicationContext applicationContext
protected io.jmix.core.Messages messages
public DefaultExceptionHandler(org.springframework.context.ApplicationContext applicationContext)
public boolean handle(com.vaadin.server.ErrorEvent event,
App app)
ExceptionHandlerhandle in interface ExceptionHandlerevent - error event containing the exception, generated by Vaadinapp - current App instance