public class MechanismMismatchException extends SaslException
| Constructor and Description |
|---|
MechanismMismatchException(String detail)
Creates an exception with a detail message.
|
MechanismMismatchException(String detail,
String[] mechanisms)
Creates an exception with a detail message for offered mechanisms.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getOfferedMechanisms()
Gets the names of the SASL mechanisms offered by the server.
|
getCause, initCause, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic MechanismMismatchException(String detail)
detail - A message providing details about the cause
of the problem.public MechanismMismatchException(String detail, String[] mechanisms)
detail - A message providing details about the cause
of the problem.mechanisms - The names of the SASL mechanisms offered by the server.public String[] getOfferedMechanisms()
Copyright © 2020. All rights reserved.