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:
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 stacktraceCycleFoundException(java.lang.String message, java.lang.String cycle, java.lang.String eventDetailData)
Basic constructor to indicate a simple error message without stacktraceCycleFoundException(java.lang.String message, java.lang.Throwable throwable)
Constructor used to encapsulate a previously thrown exception with but with a custom meaningful messageCycleFoundException(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 vertexjava.lang.String
getEventDetailData()
Get the eventDetailData-
Methods inherited from class fr.gouv.vitam.common.exception.VitamException
getVitamError, setVitamError
-
-
-
-
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 logcycle
- detail of the cycleeventDetailData
- 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 threwthrowable
- the originating exception
-
-