Class UnprocessableEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.extensions.model.openai.exception.OpenAIException
io.agentscope.extensions.model.openai.exception.UnprocessableEntityException
- All Implemented Interfaces:
io.agentscope.core.model.ModelHttpException,Serializable
Exception thrown when the request is well-formed but semantically incorrect (HTTP 422).
Common causes:
- Parameter values out of range
- Conflicting parameters
- Validation errors
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnprocessableEntityException(String message, String errorCode, String responseBody) -
Method Summary
Methods inherited from class io.agentscope.extensions.model.openai.exception.OpenAIException
create, getErrorCode, getResponseBody, getStatusCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.agentscope.core.model.ModelHttpException
isRetryableHttpStatus
-
Constructor Details
-
UnprocessableEntityException
-