Interface ITaskExecutionErrorResult

All Superinterfaces:
ITaskExecutionResult, Serializable

public interface ITaskExecutionErrorResult extends ITaskExecutionResult
The result of execution a WorkflowTask, returned by the task runner when the task was not executed successfully.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • getCause

      Throwable getCause()
      Returns:
      The exception, if any, that caused the execution to fail.
    • getMessage

      String getMessage()
      Returns:
      The message of the exception, if any, that caused the execution to fail.
    • isWasHandled

      boolean isWasHandled()
      Returns:
      Whether the exception was handled in some way. For example, a task may fail due to an unhandled exception, but a global error trigger may have been defined in the workflow that handled that error.
    • isWasSuccessful

      default boolean isWasSuccessful()
      Specified by:
      isWasSuccessful in interface ITaskExecutionResult
      Returns:
      true if this result is a ITaskExecutionSuccessResult, or false if this result is a ITaskExecutionErrorResult.