Class ScramException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hc.core5.http.HttpException
org.apache.hc.core5.http.ProtocolException
org.apache.hc.client5.http.auth.AuthenticationException
org.apache.hc.client5.http.impl.ScramException
- All Implemented Interfaces:
Serializable
Represents an exception that occurs during SCRAM (Salted Challenge Response Authentication Mechanism) authentication.
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.
- Since:
- 5.6
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newScramExceptionwithnullas its detail message.ScramException(String message) Constructs a newScramExceptionwith the specified detail message.ScramException(String message, Throwable cause) Constructs a newScramExceptionwith the specified detail message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ScramException
public ScramException()Constructs a newScramExceptionwithnullas its detail message. The cause is not initialized and may be subsequently initialized by a call toThrowable.initCause(Throwable). -
ScramException
Constructs a newScramExceptionwith the specified detail message. The cause is not initialized and may be subsequently initialized by a call toThrowable.initCause(Throwable).- Parameters:
message- the detail message, saved for later retrieval by theThrowable.getMessage()method.
-
ScramException
Constructs a newScramExceptionwith the specified detail message and cause.- Parameters:
message- the detail message, saved for later retrieval by theThrowable.getMessage()method.cause- the cause, saved for later retrieval by theThrowable.getCause()method. Anullvalue indicates that the cause is nonexistent or unknown.
-