Class BackgroundTaskUnhandledExceptionEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.flowui.event.AbstractBackgroundTaskEvent
io.jmix.flowui.event.BackgroundTaskUnhandledExceptionEvent
All Implemented Interfaces:
Serializable

public class BackgroundTaskUnhandledExceptionEvent extends AbstractBackgroundTaskEvent
Event is published if the BackgroundTask.done(Object) throws an exception and executor cannot handle it.
See Also:
  • Constructor Details

    • BackgroundTaskUnhandledExceptionEvent

      public BackgroundTaskUnhandledExceptionEvent(Object source, BackgroundTask task, Exception exception)
  • Method Details

    • getException

      public Exception getException()
      Returns the exception that occurred during the execution of the background task if the task's done(Object) method fails and the executor is unable to handle it.
      Returns:
      the exception that caused the failure