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
ServiceExceptionand provides access to detailed failure information through theQueryFailureresponse.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AuthenticationException(QueryFailure response)Constructs a newAuthenticationExceptionwith the specifiedQueryFailureresponse. 
- 
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 newAuthenticationExceptionwith the specifiedQueryFailureresponse.- Parameters:
 response- TheQueryFailureobject containing details about the authentication failure.
 
 - 
 
 -