Class UnrecognizedWorkflowDefinitionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.axoniq.framework.workflow.runtime.execution.UnrecognizedWorkflowDefinitionException
All Implemented Interfaces:
Serializable

@Internal public class UnrecognizedWorkflowDefinitionException extends RuntimeException
Thrown when a WorkflowEngine cannot resolve a workflow configuration for a durable workflow definition it encountered while restoring a segment.

A dedicated type distinguishes this specific, expected case from a genuine restore failure, so callers can log the two differently.

Since:
5.4.0
Author:
Steven van Beelen
See Also:
  • Constructor Details

    • UnrecognizedWorkflowDefinitionException

      public UnrecognizedWorkflowDefinitionException(String message)
      Constructs the exception with the given message.
      Parameters:
      message - detail message describing the unrecognized workflow definition