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 Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
    • exceptionDialogProviders

      protected List<ExceptionDialogProvider> 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 interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • handle

      public boolean handle(Throwable exception)
    • openExceptionDialog

      protected void openExceptionDialog(Throwable throwable)
    • getExceptionDialog

      protected ExceptionDialog getExceptionDialog(Throwable throwable)
    • getDefaultExceptionDialog

      protected ExceptionDialog getDefaultExceptionDialog(Throwable throwable)