Class OllamaHttpClient.OllamaHttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.extensions.model.ollama.OllamaHttpClient.OllamaHttpException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OllamaHttpClient
Exception thrown when Ollama HTTP operations fail.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOllamaHttpException(String message) OllamaHttpException(String message, int statusCode, String responseBody) OllamaHttpException(String message, String errorCode, String responseBody) OllamaHttpException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OllamaHttpException
-
OllamaHttpException
-
OllamaHttpException
-
OllamaHttpException
-
-
Method Details
-
getStatusCode
-
getResponseBody
-