Class MechanismNegotiationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChannelBindingException

public class MechanismNegotiationException extends ScramRuntimeException
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 Details

  • Constructor Details

    • MechanismNegotiationException

      public MechanismNegotiationException(String detail)
      Constructs a new MechanismNegotiationException with the specified detail message.
      Parameters:
      detail - the detail message explaining the cause of the negotiation failure.