Class CannotDeleteNonParentTaskExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.dataflow.server.repository.CannotDeleteNonParentTaskExecutionException
All Implemented Interfaces:
Serializable

public class CannotDeleteNonParentTaskExecutionException extends RuntimeException
Exception that allows to indicate that 1 or more TaskExecutions could not be deleted.
Author:
Gunnar Hillert
See Also:
  • Constructor Details

    • CannotDeleteNonParentTaskExecutionException

      public CannotDeleteNonParentTaskExecutionException(Long taskExecutionId)
      Create a new exception for 1 TaskExecution id that could not be deleted.
      Parameters:
      taskExecutionId - the id of the TaskExecution that could not be found
    • CannotDeleteNonParentTaskExecutionException

      public CannotDeleteNonParentTaskExecutionException(Set<Long> taskExecutionIds)
      Create a new exception for multiple TaskExecution ids that could not be deleted.
      Parameters:
      taskExecutionIds - the ids of the TaskExecution that could not be found