Package io.jmix.ui.exception
Class DeletePolicyExceptionHandler
java.lang.Object
io.jmix.ui.exception.AbstractUiExceptionHandler
io.jmix.ui.exception.DeletePolicyExceptionHandler
- All Implemented Interfaces:
UiExceptionHandler
,org.springframework.core.Ordered
@Component("ui_DeletePolicyHandler")
public class DeletePolicyExceptionHandler
extends AbstractUiExceptionHandler
implements org.springframework.core.Ordered
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.exception.UiExceptionHandler
UiExceptionHandler.UiContext
-
Field Summary
Fields inherited from class io.jmix.ui.exception.AbstractUiExceptionHandler
classNames
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doHandle
(String className, String message, Throwable throwable, UiExceptionHandler.UiContext context) Perform exception handling.int
getOrder()
protected MetaClass
recognizeEntityMetaClass
(String entityName) Methods inherited from class io.jmix.ui.exception.AbstractUiExceptionHandler
canHandle, handle
-
Field Details
-
messages
-
metadata
-
-
Constructor Details
-
DeletePolicyExceptionHandler
public DeletePolicyExceptionHandler()
-
-
Method Details
-
doHandle
protected void doHandle(String className, String message, @Nullable Throwable throwable, UiExceptionHandler.UiContext context) Description copied from class:AbstractUiExceptionHandler
Perform exception handling.- Specified by:
doHandle
in 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.context
- UI context
-
recognizeEntityMetaClass
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-