Class FlowAlreadyStartedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.superdurable.dex.exceptions.DexServiceException
io.superdurable.dex.exceptions.FlowAlreadyStartedException
- All Implemented Interfaces:
Serializable
Reports that a Flow start request conflicts with an existing Flow ID.
Catch this exception when duplicate starts are an expected idempotency outcome. The applicable
IdReusePolicy and the state of the existing execution determine
whether Dex rejects the request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowAlreadyStartedException(io.grpc.Status.Code code, String detail, Throwable cause) Creates a duplicate-Flow exception from a Dex service response. -
Method Summary
Methods inherited from class DexServiceException
getCode, getDetail, getSubStatusMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlowAlreadyStartedException
-