public class LdapAuthenticationNotSupportedException extends LdapOperationException
LdapOperationException carrying along
an unequivocal ResultCodeEnum value.| Modifier and Type | Field and Description |
|---|---|
(package private) static long |
serialVersionUID
The serial version UUID
|
resolvedDn, resultCode| Constructor and Description |
|---|
LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode)
Creates a new instance of LdapAuthenticationNotSupportedException.
|
LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapAuthenticationNotSupportedException.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
getResolvedDn, getResultCode, setResolvedDnaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringstatic final long serialVersionUID
public LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode, String message)
resultCode - the ResultCodeEnum for this exceptionmessage - The exception messagepublic LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode)
resultCode - the ResultCodeEnum for this exceptionprivate void checkResultCode(ResultCodeEnum resultCode)
resultCode - the code to checkIllegalArgumentException - if the result code is not one of
ResultCodeEnum.INAPPROPRIATE_AUTHENTICATION,
ResultCodeEnum.AUTH_METHOD_NOT_SUPPORTED,
ResultCodeEnum.CONFIDENTIALITY_REQUIRED.Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.