Class CycleFoundException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      CycleFoundException​(java.lang.String message)
      Basic constructor to indicate a simple error message without stacktrace
      CycleFoundException​(java.lang.String message, java.lang.String cycle, java.lang.String eventDetailData)
      Basic constructor to indicate a simple error message without stacktrace
      CycleFoundException​(java.lang.String message, java.lang.Throwable throwable)
      Constructor used to encapsulate a previously thrown exception with but with a custom meaningful message
      CycleFoundException​(java.lang.Throwable throwable)
      Constructor used to encapsulate a previously thrown exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCycle()
      Get the cycle's list of vertex
      java.lang.String getEventDetailData()
      Get the eventDetailData
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CycleFoundException

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

        public CycleFoundException​(java.lang.String message,
                                   java.lang.String cycle,
                                   java.lang.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​(java.lang.Throwable throwable)
        Constructor used to encapsulate a previously thrown exception. A generic message is used.
        Parameters:
        throwable - the originating exception
      • CycleFoundException

        public CycleFoundException​(java.lang.String message,
                                   java.lang.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 Detail

      • getCycle

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

        public java.lang.String getEventDetailData()
        Get the eventDetailData
        Returns:
        eventDetailData