Class ToolExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.machanism.machai.process.tools.ToolExecutionException
- All Implemented Interfaces:
Serializable
Indicates that a tool callback could not complete its requested operation.
- Author:
- Viktor Tovstyi
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version for compatibility with previously serialized exception instances. -
Constructor Summary
ConstructorsConstructorDescriptionToolExecutionException(String message) Creates an exception with a descriptive message.ToolExecutionException(Throwable cause) Creates an exception that preserves the underlying failure. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version for compatibility with previously serialized exception instances.- See Also:
-
-
Constructor Details
-
ToolExecutionException
Creates an exception with a descriptive message.- Parameters:
message- failure description
-
ToolExecutionException
Creates an exception that preserves the underlying failure.- Parameters:
cause- underlying failure
-