Class ScramException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- javax.security.sasl.SaslException
-
- com.impossibl.postgres.protocol.sasl.scram.exception.ScramException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ScramInvalidServerSignatureException
,ScramParseException
,ScramServerErrorException
public class ScramException extends SaslException
This class represents an error when using SCRAM, which is a SASL method.SaslException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScramException(String detail)
Constructs a new instance of ScramException with a detailed message.ScramException(String detail, Throwable ex)
Constructs a new instance of ScramException with a detailed message and a root cause.
-
Method Summary
-
Methods inherited from class javax.security.sasl.SaslException
getCause, initCause, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ScramException
public ScramException(String detail)
Constructs a new instance of ScramException with a detailed message.- Parameters:
detail
- A String containing details about the exception
-
-