Package io.jmix.flowui.exception
Class DefaultUiExceptionHandler
java.lang.Object
io.jmix.flowui.exception.DefaultUiExceptionHandler
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Component("flowui_DefaultExceptionHandler")
public class DefaultUiExceptionHandler
extends Object
implements org.springframework.context.ApplicationContextAware
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected List<ExceptionDialogProvider>
-
Constructor Summary
ConstructorDescriptionDefaultUiExceptionHandler
(List<ExceptionDialogProvider> exceptionDialogProviders) -
Method Summary
Modifier and TypeMethodDescriptionprotected ExceptionDialog
getDefaultExceptionDialog
(Throwable throwable) protected ExceptionDialog
getExceptionDialog
(Throwable throwable) boolean
protected void
openExceptionDialog
(Throwable throwable) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
exceptionDialogProviders
-
-
Constructor Details
-
DefaultUiExceptionHandler
public DefaultUiExceptionHandler(@Autowired(required=false) List<ExceptionDialogProvider> exceptionDialogProviders)
-
-
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
-
handle
-
openExceptionDialog
-
getExceptionDialog
-
getDefaultExceptionDialog
-