@Component(value="ui_DeletePolicyHandler") public class DeletePolicyExceptionHandler extends AbstractUiExceptionHandler implements org.springframework.core.Ordered
UiExceptionHandler.UiContext
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.Metadata |
metadata |
classNames
Constructor and Description |
---|
DeletePolicyExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doHandle(java.lang.String className,
java.lang.String message,
java.lang.Throwable throwable,
UiExceptionHandler.UiContext context)
Perform exception handling.
|
int |
getOrder() |
protected io.jmix.core.metamodel.model.MetaClass |
recognizeEntityMetaClass(java.lang.String entityName) |
canHandle, handle
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.core.Metadata metadata
protected void doHandle(java.lang.String className, java.lang.String message, @Nullable java.lang.Throwable throwable, UiExceptionHandler.UiContext context)
AbstractUiExceptionHandler
doHandle
in class AbstractUiExceptionHandler
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@Nullable protected io.jmix.core.metamodel.model.MetaClass recognizeEntityMetaClass(java.lang.String entityName)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered