Class UnsupportedModelChangeExceptionHandler

java.lang.Object
io.jmix.flowui.exception.AbstractUiExceptionHandler
io.jmix.dynmodelflowui.exception.UnsupportedModelChangeExceptionHandler
All Implemented Interfaces:
UiExceptionHandler

@Component("dynmod_UnsupportedModelChangeExceptionHandler") @Order(940) public class UnsupportedModelChangeExceptionHandler extends AbstractUiExceptionHandler
Presents UnsupportedModelChangeException thrown during apply as a user-friendly notification instead of the generic unexpected-error dialog.
  • Field Details

    • messages

      @Autowired protected Messages messages
    • notifications

      @Autowired protected Notifications notifications
  • Constructor Details

    • UnsupportedModelChangeExceptionHandler

      public UnsupportedModelChangeExceptionHandler()
  • Method Details

    • doHandle

      protected void doHandle(String className, String message, @Nullable Throwable throwable)
      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.