Package com.aispect.api
Interface AiNodeExceptionHook
- All Known Subinterfaces:
AiGraphAgentHandler<T,R, F>
- All Known Implementing Classes:
AbstractGraphAgent,DynamicWorkflowGraphAgent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Node exception handling callback interface.
-
Method Summary
Modifier and TypeMethodDescriptiononNodeException(String nodeName, Throwable ex, AiInvocationContext<?> ctx) when someone Node Triggered when a blocking exception (non-business processing exception) is thrown during operation. Returns a policy enumeration that guides Engine Next action.
-
Method Details
-
onNodeException
when someone Node Triggered when a blocking exception (non-business processing exception) is thrown during operation. Returns a policy enumeration that guides Engine Next action.- Parameters:
nodeName- Node nameex- Exception thrownctx- current execution context- Returns:
- Exception handling strategy
-