public class AuthenticatorException extends CouchbaseException
This exception is commonly raised when an attempt to retrieve a credential in an Authenticator
is made, but cannot be fulfilled. The exception allows to retrieve the CredentialContext
and specific for which the request was made.
Constructor and Description |
---|
AuthenticatorException(String message,
CredentialContext context,
String specific,
int found) |
Modifier and Type | Method and Description |
---|---|
CredentialContext |
context() |
int |
foundCredentials() |
String |
specific() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthenticatorException(String message, CredentialContext context, String specific, int found)
public CredentialContext context()
public String specific()
public int foundCredentials()
Copyright © 2015 Couchbase, Inc.