Class ScramRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ongres.scram.common.exception.ScramRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
public class ScramRuntimeException extends java.lang.RuntimeException
This class represents an 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 ScramRuntimeException(java.lang.String detail)
Constructs a new instance of ScramRuntimeException with a detailed message.ScramRuntimeException(java.lang.String detail, java.lang.Throwable ex)
Constructs a new instance of ScramRuntimeException with a detailed message and a root cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScramRuntimeException
public ScramRuntimeException(java.lang.String detail)
Constructs a new instance of ScramRuntimeException with a detailed message.- Parameters:
detail
- A String containing details about the exception
-
ScramRuntimeException
public ScramRuntimeException(java.lang.String detail, java.lang.Throwable ex)
Constructs a new instance of ScramRuntimeException with a detailed message and a root cause.- Parameters:
detail
- A String containing details about the exceptionex
- The root exception
-
-