Class ToolConflictException

All Implemented Interfaces:
Serializable

public class ToolConflictException extends ToolException
Tool failed due to a conflict against current upstream state — typically HTTP 409, optimistic-concurrency version mismatch, stale-resource update, unique-constraint violation. Non-retryable as-is: the caller must re-fetch the current state and reconcile before another attempt.
Since:
0.5.0 (issue #88)
See Also:
  • Constructor Details

    • ToolConflictException

      public ToolConflictException(String toolName, String message, String resourceIdentifier)
  • Method Details

    • getResourceIdentifier

      public String getResourceIdentifier()
    • getErrorCode

      public String getErrorCode()
      Description copied from class: TnsAIException
      Gets the error code for this exception type. Format: TNSAI-XXX where XXX is derived from class name.
      Overrides:
      getErrorCode in class TnsAIException