Package com.fauna.exception
Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- com.fauna.exception.ServiceException
-
- com.fauna.exception.AuthenticationException
-
- All Implemented Interfaces:
java.io.Serializable
public class AuthenticationException extends ServiceException
Exception thrown when an authentication error occurs in Fauna. This typically indicates an issue with the authentication secret used for Fauna requests.Extends
ServiceException
and provides access to detailed failure information through theQueryFailure
response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException(QueryFailure response)
Constructs a newAuthenticationException
with the specifiedQueryFailure
response.
-
Method Summary
-
Methods inherited from class com.fauna.exception.ServiceException
getErrorCode, getQueryTags, getResponse, getSchemaVersion, getStats, getStatusCode, getSummary, getTxnTs
-
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(QueryFailure response)
Constructs a newAuthenticationException
with the specifiedQueryFailure
response.- Parameters:
response
- TheQueryFailure
object containing details about the authentication failure.
-
-