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:
java.io.Serializable
public class ScramServerErrorException extends ScramException
This class represents an error when parsing SCRAM messages- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ServerFinalMessage.Error
error
-
Constructor Summary
Constructors Constructor Description ScramServerErrorException(ServerFinalMessage.Error error)
Constructs a new instance of ScramServerErrorException with a detailed message.ScramServerErrorException(ServerFinalMessage.Error error, java.lang.Throwable ex)
Constructs a new instance of ScramServerErrorException with a detailed message and a root cause.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerFinalMessage.Error
getError()
private static java.lang.String
toString(ServerFinalMessage.Error error)
-
-
-
Field Detail
-
error
private final ServerFinalMessage.Error error
-
-
Constructor Detail
-
ScramServerErrorException
public ScramServerErrorException(ServerFinalMessage.Error error)
Constructs a new instance of ScramServerErrorException with a detailed message.- Parameters:
error
- The SCRAM error in the message
-
ScramServerErrorException
public ScramServerErrorException(ServerFinalMessage.Error error, java.lang.Throwable ex)
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 Detail
-
toString
private static java.lang.String toString(ServerFinalMessage.Error error)
-
getError
public ServerFinalMessage.Error getError()
-
-