Class OpenAIRespondedNot2xxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- bg.codexio.ai.openai.api.http.exception.OpenAIRespondedNot2xxException
-
- All Implemented Interfaces:
Serializable
public class OpenAIRespondedNot2xxException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenAIRespondedNot2xxException(ErrorResponseHolder errorHolder, int httpStatusCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResponseHoldergetErrorHolder()intgetHttpStatusCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OpenAIRespondedNot2xxException
public OpenAIRespondedNot2xxException(ErrorResponseHolder errorHolder, int httpStatusCode)
-
-
Method Detail
-
getErrorHolder
public ErrorResponseHolder getErrorHolder()
-
getHttpStatusCode
public int getHttpStatusCode()
-
-