Class ScramServerErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.security.sasl.SaslException
com.ongres.scram.common.exception.ScramException
com.ongres.scram.common.exception.ScramServerErrorException
- All Implemented Interfaces:
Serializable
This class represents an error when parsing SCRAM messages
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance of ScramServerErrorException with a detailed message.Constructs a new instance of ScramServerErrorException with a detailed message and a root cause. -
Method Summary
Modifier and TypeMethodDescriptiongetError()private static StringtoString(ServerFinalMessage.Error error) Methods inherited from class javax.security.sasl.SaslException
getCause, initCause, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
error
-
-
Constructor Details
-
ScramServerErrorException
Constructs a new instance of ScramServerErrorException with a detailed message.- Parameters:
error- The SCRAM error in the message
-
ScramServerErrorException
Constructs a new instance of ScramServerErrorException with a detailed message and a root cause.- Parameters:
error- The SCRAM error in the messageex- The root exception
-
-
Method Details
-
toString
-
getError
-