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
  • Field Details

    • messages

      @Autowired protected Messages messages
    • metadata

      @Autowired protected Metadata 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 class AbstractUiExceptionHandler
      Parameters:
      className - actual exception class name
      message - exception message
      throwable - 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

      @Nullable protected MetaClass recognizeEntityMetaClass(String entityName)
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered