Package akka.javasdk.agent
Class ToolCallExecutionException
Object
Throwable
Exception
RuntimeException
akka.javasdk.agent.ToolCallExecutionException
- All Implemented Interfaces:
Serializable
Exception thrown when there is a failure executing a tool call. This includes the name of the
tool that failed to execute.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionToolCallExecutionException
(String message, String toolName, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the tool that failed to execute.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ToolCallExecutionException
-
-
Method Details
-
getToolName
Returns the name of the tool that failed to execute.- Returns:
- the tool name
-