Class 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 the QueryFailure response.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticationException​(QueryFailure response)
      Constructs a new AuthenticationException with the specified QueryFailure response.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuthenticationException

        public AuthenticationException​(QueryFailure response)
        Constructs a new AuthenticationException with the specified QueryFailure response.
        Parameters:
        response - The QueryFailure object containing details about the authentication failure.