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
public class NotValidAuthenticationMethod extends RuntimeException
Usually thrown bySdkAuthif integral parts of the authentication are missing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotValidAuthenticationMethod(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCause(NotValidAuthenticationMethod cause)Used if more than oneSdkAuthmethods are provided to collect all of their errors in one exception.ThrowablegetCause()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NotValidAuthenticationMethod
public NotValidAuthenticationMethod(String message)
-
-
Method Detail
-
addCause
public void addCause(NotValidAuthenticationMethod cause)
Used if more than oneSdkAuthmethods are provided to collect all of their errors in one exception.- Parameters:
cause-NotValidAuthenticationMethodthrown by previousSdkAuth.credentials()call.
-
-