Class JPPFJobDependencyCycleException

All Implemented Interfaces:
Serializable

public class JPPFJobDependencyCycleException extends JPPFDependencyCycleException
Exception raised when a dependency cycle is detected in a graph of jobs.
Since:
6.2
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JPPFJobDependencyCycleException

      public JPPFJobDependencyCycleException(String message, String cycleStart, List<String> idPath)
      Initialize this exception with a specified message.
      Parameters:
      message - the message for this exception.
      cycleStart - the dependency id of the job in which the insertion of a dependency causes a cycle.
      idPath - an ordered list of dependency ids that make the path of the detected cycle, excluding cycleStart.
  • Method Details

    • getCycleStart

      public String getCycleStart()
      Get the dependency id of the job in which the insertion of a dependency causes a cycle.
      Returns:
      the dependency id of the cycle start.
    • getIdPath

      public List<String> getIdPath()
      Get an ordered list of dependency ids that make the path of the detected cycle.
      Returns:
      a list of string dependency ids.