Class ScramException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.security.sasl.SaslException
com.ongres.scram.common.exception.ScramException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ScramInvalidServerSignatureException
,ScramParseException
,ScramServerErrorException
This class represents an error when using SCRAM, which is a SASL method.
SaslException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScramException
(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 Details
-
ScramException
Constructs a new instance of ScramException with a detailed message.- Parameters:
detail
- A String containing details about the exception
-
ScramException
Constructs a new instance of ScramException with a detailed message and a root cause.- Parameters:
detail
- A String containing details about the exceptionex
- The root exception
-