Class NotValidAuthenticationMethod
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
bg.codexio.ai.openai.api.sdk.auth.exception.NotValidAuthenticationMethod
- All Implemented Interfaces:
Serializable
Usually thrown by
SdkAuth if integral parts
of the authentication are missing.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotValidAuthenticationMethod
-
-
Method Details
-
addCause
Used if more than oneSdkAuthmethods are provided to collect all of their errors in one exception.- Parameters:
cause-NotValidAuthenticationMethodthrown by previousSdkAuth.credentials()call.
-
getCause
-