Package com.ongres.scram.client
Class MechanismNegotiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ongres.scram.common.exception.ScramRuntimeException
com.ongres.scram.client.MechanismNegotiationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChannelBindingException
Signals that an error occurred during the SASL SCRAM mechanism negotiation,
capability handshake, or policy enforcement phase.
This exception typically indicates a structural mismatch between the mechanisms advertised by the server and those supported or allowed by the client, such as a failure to find a mutually acceptable authentication variant or a breakdown in channel binding requirements.
- Since:
- 3.3
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMechanismNegotiationException(String detail) Constructs a newMechanismNegotiationExceptionwith the specified detail message. -
Method Summary
Methods inherited from class java.lang.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
-
MechanismNegotiationException
Constructs a newMechanismNegotiationExceptionwith the specified detail message.- Parameters:
detail- the detail message explaining the cause of the negotiation failure.
-