public class ScramServerErrorException extends ScramException
Modifier and Type | Field and Description |
---|---|
private ServerFinalMessage.Error |
error |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
ServerFinalMessage.Error |
getError() |
private static java.lang.String |
toString(ServerFinalMessage.Error error) |
private final ServerFinalMessage.Error error
public ScramServerErrorException(ServerFinalMessage.Error error)
error
- The SCRAM error in the messagepublic ScramServerErrorException(ServerFinalMessage.Error error, java.lang.Throwable ex)
error
- The SCRAM error in the messageex
- The root exceptionprivate static java.lang.String toString(ServerFinalMessage.Error error)
public ServerFinalMessage.Error getError()