Package fr.gouv.vitam.common.exception
Class CycleFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.gouv.vitam.common.exception.VitamException
fr.gouv.vitam.common.exception.CycleFoundException
- All Implemented Interfaces:
Serializable
Exception used in DFS when a cycle is found
- See Also:
-
Constructor Summary
ConstructorDescriptionCycleFoundException
(String message) Basic constructor to indicate a simple error message without stacktraceCycleFoundException
(String message, String cycle, String eventDetailData) Basic constructor to indicate a simple error message without stacktraceCycleFoundException
(String message, Throwable throwable) Constructor used to encapsulate a previously thrown exception with but with a custom meaningful messageCycleFoundException
(Throwable throwable) Constructor used to encapsulate a previously thrown exception. -
Method Summary
Modifier and TypeMethodDescriptiongetCycle()
Get the cycle's list of vertexGet the eventDetailDataMethods inherited from class fr.gouv.vitam.common.exception.VitamException
getVitamError, setVitamError
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CycleFoundException
Basic constructor to indicate a simple error message without stacktrace- Parameters:
message
- message to log
-
CycleFoundException
Basic constructor to indicate a simple error message without stacktrace- Parameters:
message
- message to logcycle
- detail of the cycleeventDetailData
- eventDetailData of the exception
-
CycleFoundException
Constructor used to encapsulate a previously thrown exception. A generic message is used.- Parameters:
throwable
- the originating exception
-
CycleFoundException
Constructor used to encapsulate a previously thrown exception with but with a custom meaningful message- Parameters:
message
- the message to log throw threwthrowable
- the originating exception
-
-
Method Details
-
getCycle
Get the cycle's list of vertex- Returns:
- the cycle's list of vertex
-
getEventDetailData
Get the eventDetailData- Returns:
- eventDetailData
-