Class ScramException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ongres.scram.common.exception.ScramException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ScramInvalidServerSignatureException
,ScramParseException
,ScramServerErrorException
public class ScramException extends java.lang.Exception
This class represents an generic error when using SCRAM, which is a SASL method.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ScramException(java.lang.String detail)
Constructs a new instance of ScramException with a detailed message.ScramException(java.lang.String detail, java.lang.Throwable ex)
Constructs a new instance of ScramException with a detailed message and a root cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScramException
public ScramException(java.lang.String detail)
Constructs a new instance of ScramException with a detailed message.- Parameters:
detail
- A String containing details about the exception
-
ScramException
public ScramException(java.lang.String detail, java.lang.Throwable ex)
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
-
-