Class CycleFoundException

All Implemented Interfaces:
Serializable

public class CycleFoundException extends VitamException
Exception used in DFS when a cycle is found
See Also:
  • Constructor Details

    • CycleFoundException

      public CycleFoundException(String message)
      Basic constructor to indicate a simple error message without stacktrace
      Parameters:
      message - message to log
    • CycleFoundException

      public CycleFoundException(String message, String cycle, String eventDetailData)
      Basic constructor to indicate a simple error message without stacktrace
      Parameters:
      message - message to log
      cycle - detail of the cycle
      eventDetailData - eventDetailData of the exception
    • CycleFoundException

      public CycleFoundException(Throwable throwable)
      Constructor used to encapsulate a previously thrown exception. A generic message is used.
      Parameters:
      throwable - the originating exception
    • CycleFoundException

      public CycleFoundException(String message, Throwable throwable)
      Constructor used to encapsulate a previously thrown exception with but with a custom meaningful message
      Parameters:
      message - the message to log throw threw
      throwable - the originating exception
  • Method Details

    • getCycle

      public String getCycle()
      Get the cycle's list of vertex
      Returns:
      the cycle's list of vertex
    • getEventDetailData

      public String getEventDetailData()
      Get the eventDetailData
      Returns:
      eventDetailData