Package org.apache.hc.client5.http.impl
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:
java.io.Serializable
public class ScramException extends AuthenticationException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ScramException()Constructs a newScramExceptionwithnullas its detail message.ScramException(java.lang.String message)Constructs a newScramExceptionwith the specified detail message.ScramException(java.lang.String message, java.lang.Throwable cause)Constructs a newScramExceptionwith the specified detail message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScramException
public ScramException()
Constructs a newScramExceptionwithnullas its detail message. The cause is not initialized and may be subsequently initialized by a call toThrowable.initCause(java.lang.Throwable).
-
ScramException
public ScramException(java.lang.String message)
Constructs a newScramExceptionwith the specified detail message. The cause is not initialized and may be subsequently initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
message- the detail message, saved for later retrieval by theThrowable.getMessage()method.
-
ScramException
public ScramException(java.lang.String message, java.lang.Throwable cause)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.
-
-