Class TemplateNotFoundExceptionHandler

java.lang.Object
io.jmix.emailtemplatesui.handlers.TemplateNotFoundExceptionHandler
All Implemented Interfaces:
UiExceptionHandler

@Component("emltmp_TemplateNotFoundExceptionHandler") public class TemplateNotFoundExceptionHandler extends Object implements UiExceptionHandler
  • Constructor Details

    • TemplateNotFoundExceptionHandler

      public TemplateNotFoundExceptionHandler()
  • Method Details

    • handle

      public boolean handle(Throwable exception, UiExceptionHandler.UiContext context)
      Description copied from interface: UiExceptionHandler
      Handle an exception. Implementation class should either handle the exception and return true, or return false to delegate execution to the next handler in the chain of responsibility.
      Specified by:
      handle in interface UiExceptionHandler
      Parameters:
      exception - exception instance
      context - UI context
      Returns:
      true if the exception has been successfully handled, false if not