public class ScramServerErrorException extends ScramException
server-final-message.
It is sent by the server in its server-final-message and can help diagnose the reason
for the authentication exchange failure.
| Constructor and Description |
|---|
ScramServerErrorException(String serverError)
Constructs a new instance of ScramServerErrorException with a detailed message.
|
ScramServerErrorException(String serverError,
Throwable ex)
Constructs a new instance of ScramServerErrorException with a detailed message and a root
cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getServerError()
Return the "e=" server-error-value from the server-final-message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ScramServerErrorException(String serverError)
serverError - The SCRAM error in the messagepublic String getServerError()
Copyright © 2017–2025 OnGres, Inc. All rights reserved.