Package dev.langchain4j.exception
Class ToolArgumentsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.langchain4j.exception.LangChain4jException
dev.langchain4j.exception.ToolArgumentsException
- All Implemented Interfaces:
Serializable
Indicates that something is wrong with the tool arguments.
For example, the JSON cannot be parsed, or an argument is of the wrong type.
- Since:
- 1.4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionToolArgumentsException
(String message) ToolArgumentsException
(String message, Integer errorCode) ToolArgumentsException
(Throwable cause) ToolArgumentsException
(Throwable cause, Integer errorCode) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ToolArgumentsException
-
ToolArgumentsException
-
ToolArgumentsException
-
ToolArgumentsException
-
-
Method Details
-
errorCode
-