public class ScramException extends AuthenticationException
SCRAM is a family of SASL mechanisms used for secure authentication. This exception is thrown when an error or issue is encountered during the SCRAM authentication process.
| Constructor and Description |
|---|
ScramException()
Constructs a new
ScramException with null as its detail message. |
ScramException(String message)
Constructs a new
ScramException with the specified detail message. |
ScramException(String message,
Throwable cause)
Constructs a new
ScramException with the specified detail message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ScramException()
ScramException with null as its detail message.
The cause is not initialized and may be subsequently initialized by a call to Throwable.initCause(java.lang.Throwable).public ScramException(String message)
ScramException with the specified detail message.
The cause is not initialized and may be subsequently initialized by a call to Throwable.initCause(java.lang.Throwable).message - the detail message, saved for later retrieval by the Throwable.getMessage() method.public ScramException(String message, Throwable cause)
ScramException with the specified detail message and cause.message - the detail message, saved for later retrieval by the Throwable.getMessage() method.cause - the cause, saved for later retrieval by the Throwable.getCause() method.
A null value indicates that the cause is nonexistent or unknown.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.