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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected DefaultUiExceptionHandlerprotected List<UiExceptionHandler> -
Constructor Summary
ConstructorsConstructorDescriptionUiExceptionHandlers(List<UiExceptionHandler> handlers, DefaultUiExceptionHandler defaultUiExceptionHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoiderror(com.vaadin.flow.server.ErrorEvent event) voidsetApplicationContext(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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
error
public void error(com.vaadin.flow.server.ErrorEvent event) - Specified by:
errorin interfacecom.vaadin.flow.server.ErrorHandler
-