Class GraphValidationException

All Implemented Interfaces:
Serializable

@Experimental public final class GraphValidationException extends IllegalArgumentException
Thrown when a workflow graph is malformed, such as when Start cannot reach a node or a cycle has no routed edge. Building the workflow or a node's BaseNode.validateOutgoingEdges(Collection) throws it, and a run fails with it for a chat agent that follows a node other than Start, since a parent agent built after the graph can make a node a chat agent.
See Also:
  • Constructor Details

    • GraphValidationException

      public GraphValidationException(String message)