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,
java.lang.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, setResolvedDnstatic final long serialVersionUID
public LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode, java.lang.String message)
resultCode - the ResultCodeEnum for this exceptionmessage - The exception messagepublic LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode)
resultCode - the ResultCodeEnum for this exceptionprivate void checkResultCode(ResultCodeEnum resultCode)
java.lang.IllegalArgumentException - if the result code is not one of
ResultCodeEnum#INAPPROPRIATEAUTHENTICATION,
ResultCodeEnum#AUTHMETHODNOTSUPPORTED,
ResultCodeEnum#CONFIDENTIALITYREQUIRED.