Package com.google.adk.workflow
Class DynamicNodeFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.adk.workflow.DynamicNodeFailedException
- All Implemented Interfaces:
Serializable
An exception that
Context.runNode(com.google.adk.workflow.Node) signals when the child node
fails. If the caller does not handle this exception, the caller fails with the child's error
without emitting an error event of its own.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
error
Returns the exception the child failed with, which is also this exception's cause. -
errorNodePath
Returns the path of the node that raisederror(), which is either the child or one of its descendants.
-