Package io.jmix.flowui.exception
Class UiExceptionHandlers
java.lang.Object
io.jmix.flowui.exception.UiExceptionHandlers
- All Implemented Interfaces:
com.vaadin.flow.server.ErrorHandler
,Serializable
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Component("flowui_ExceptionHandlers")
public class UiExceptionHandlers
extends Object
implements com.vaadin.flow.server.ErrorHandler, org.springframework.context.ApplicationContextAware
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected DefaultUiExceptionHandler
protected List<UiExceptionHandler>
-
Constructor Summary
ConstructorDescriptionUiExceptionHandlers
(List<UiExceptionHandler> handlers, DefaultUiExceptionHandler defaultUiExceptionHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(com.vaadin.flow.server.ErrorEvent event) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
handlers
-
defaultUiExceptionHandler
-
-
Constructor Details
-
UiExceptionHandlers
@Autowired public UiExceptionHandlers(List<UiExceptionHandler> handlers, DefaultUiExceptionHandler defaultUiExceptionHandler)
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
error
public void error(com.vaadin.flow.server.ErrorEvent event) - Specified by:
error
in interfacecom.vaadin.flow.server.ErrorHandler
-