Class GraphValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.google.adk.workflow.GraphValidationException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GraphValidationException
-