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
FieldsFields inherited from class io.jmix.ui.exception.AbstractUiExceptionHandler
classNamesFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHandle(String className, String message, Throwable throwable, UiExceptionHandler.UiContext context) Perform exception handling.intgetOrder()protected MetaClassrecognizeEntityMetaClass(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: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.context- UI context
-
recognizeEntityMetaClass
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-