Tool Exception
Creates a ToolException with a specified error message and an optional cause.
Parameters
message
A message describing the error encountered.
cause
The underlying cause of the error, if any.
Creates a ToolException with a specified error message and an optional cause.
A message describing the error encountered.
The underlying cause of the error, if any.