public class ScramServerErrorException extends ScramException
Constructor and Description |
---|
ScramServerErrorException(ServerFinalMessage.Error error)
Constructs a new instance of ScramServerErrorException with a detailed message.
|
ScramServerErrorException(ServerFinalMessage.Error error,
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() |
getCause, initCause, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ScramServerErrorException(ServerFinalMessage.Error error)
error
- The SCRAM error in the messagepublic ScramServerErrorException(ServerFinalMessage.Error error, Throwable ex)
error
- The SCRAM error in the messageex
- The root exceptionpublic ServerFinalMessage.Error getError()
Copyright © 2017–2021. All rights reserved.