Class FlowDefinitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.superdurable.dex.exceptions.FlowDefinitionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidStepResultException
Reports an invalid local Flow, Step, persistence, or RPC definition.
This exception is raised before or while mapping a request when the Java contract cannot be represented safely, such as a duplicate Flow type, Step type, RPC name, or persistence definition name; an unsupported RPC signature; a final RPC class; or a value whose runtime type does not match its registered definition. Fix application definitions rather than retrying the operation unchanged.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowDefinitionException(String message) Creates a definition failure without an underlying cause.FlowDefinitionException(String message, Throwable cause) Creates a definition failure caused by reflection or mapping work. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlowDefinitionException
Creates a definition failure without an underlying cause.- Parameters:
message- the user-actionable contract violation
-
FlowDefinitionException
-