Class DefaultExceptionHandler

java.lang.Object
io.jmix.ui.exception.DefaultExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class DefaultExceptionHandler extends Object implements ExceptionHandler
This exception handler comes into play if no other handler in the chain has handled the exception.
  • Field Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
    • messages

      protected Messages messages
  • Constructor Details

    • DefaultExceptionHandler

      public DefaultExceptionHandler(org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • handle

      public boolean handle(com.vaadin.server.ErrorEvent event, App app)
      Specified by:
      handle in interface ExceptionHandler
    • showDialog

      protected void showDialog(App app, AppUI ui, Throwable exception)
    • showNotification

      protected void showNotification(App app, AppUI ui, Throwable exception)