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
This class represents an generic error when using SCRAM, which is a SASL method.
- 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
-