Package io.jmix.dynmodelflowui.exception
Class DynamicModelDefinitionExceptionHandler
java.lang.Object
io.jmix.flowui.exception.AbstractUiExceptionHandler
io.jmix.dynmodelflowui.exception.DynamicModelDefinitionExceptionHandler
- All Implemented Interfaces:
UiExceptionHandler
@Component("dynmod_DynamicModelDefinitionExceptionHandler")
@Order(940)
public class DynamicModelDefinitionExceptionHandler
extends AbstractUiExceptionHandler
Presents a rejected dynamic model definition as a user-friendly notification instead of the generic
unexpected-error dialog. Both members of the family are listed explicitly, because
AbstractUiExceptionHandler matches an exception by its own class name and not by its
supertypes.-
Field Summary
FieldsFields inherited from class io.jmix.flowui.exception.AbstractUiExceptionHandler
classNames -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jmix.flowui.exception.AbstractUiExceptionHandler
canHandle, handle
-
Field Details
-
messages
-
notifications
-
-
Constructor Details
-
DynamicModelDefinitionExceptionHandler
public DynamicModelDefinitionExceptionHandler()
-
-
Method Details
-
doHandle
Description copied from class:AbstractUiExceptionHandlerPerform exception handling.- Specified by:
doHandlein classAbstractUiExceptionHandler- Parameters:
className- actual exception class namemessage- exception messagethrowable- exception instance. Can be null if the exception occurred on the server side and this exception class isn't accessible by the client.
-