Class ToolNotFoundException

All Implemented Interfaces:
Serializable

public class ToolNotFoundException extends ToolException
Remote resource the tool was asked to operate on does not exist — typically HTTP 404 from upstream, file-not-found, missing record. Non-retryable: the resource won't materialize from a retry.
Since:
0.5.0 (issue #88)
See Also:
  • Constructor Details

    • ToolNotFoundException

      public ToolNotFoundException(String toolName, String resourceIdentifier)
    • ToolNotFoundException

      public ToolNotFoundException(String toolName, String resourceIdentifier, Throwable cause)
  • 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