Class InvalidStepResultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.superdurable.dex.exceptions.FlowDefinitionException
io.superdurable.dex.exceptions.InvalidStepResultException
- All Implemented Interfaces:
Serializable
Reports an invalid value returned by user Step code.
The worker raises this specialized FlowDefinitionException for results it cannot send
to Dex, including a null wait or decision, unsupported wait shape, invalid transition
target, or malformed conditional completion. Fix the Step implementation before retrying.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidStepResultException(String message) Creates an invalid-result exception with the violated Step contract. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidStepResultException
Creates an invalid-result exception with the violated Step contract.- Parameters:
message- the user-actionable result violation
-