Class TemplateNotFoundExceptionHandler
java.lang.Object
io.jmix.emailtemplatesui.handlers.TemplateNotFoundExceptionHandler
- All Implemented Interfaces:
UiExceptionHandler
@Component("emltmp_TemplateNotFoundExceptionHandler")
public class TemplateNotFoundExceptionHandler
extends Object
implements UiExceptionHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.exception.UiExceptionHandler
UiExceptionHandler.UiContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handle
(Throwable exception, UiExceptionHandler.UiContext context) Handle an exception.
-
Constructor Details
-
TemplateNotFoundExceptionHandler
public TemplateNotFoundExceptionHandler()
-
-
Method Details
-
handle
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 interfaceUiExceptionHandler
- Parameters:
exception
- exception instancecontext
- UI context- Returns:
- true if the exception has been successfully handled, false if not
-