Class ScramException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ongres.scram.common.exception.ScramException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ScramInvalidServerSignatureException, ScramParseException, ScramServerErrorException

public class ScramException extends Exception
This class represents an generic error when using SCRAM, which is a SASL method.
See Also:
  • Field Details

  • Constructor Details

    • ScramException

      public ScramException(String detail)
      Constructs a new instance of ScramException with a detailed message.
      Parameters:
      detail - A String containing details about the exception
    • ScramException

      public ScramException(String detail, Throwable ex)
      Constructs a new instance of ScramException with a detailed message and a root cause.
      Parameters:
      detail - A String containing details about the exception
      ex - The root exception