|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.NamingSecurityException
javax.naming.AuthenticationNotSupportedException
org.apache.directory.shared.ldap.exception.LdapAuthenticationNotSupportedException
A subclass of the AuthenticationNotSupportedException
carrying along
an unequivocal ResultCodeEnum value.
Field Summary |
Fields inherited from class javax.naming.NamingException |
remainingName, resolvedName, resolvedObj, rootException |
Constructor Summary | |
LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode)
Creates an LdapException with the resultCode. |
|
LdapAuthenticationNotSupportedException(java.lang.String explanation,
ResultCodeEnum resultCode)
Sets the resultCode associated with this LdapException. |
Method Summary | |
ResultCodeEnum |
getResultCode()
Gets the LDAP result code that would be associated with this exception. |
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode)
resultCode
- the resultCode enumeration
java.lang.IllegalArgumentException
- if the resultCode is not one of the codes corresponding to an
AuthenticationNotSupportedExceptionAuthenticationNotSupportedException.AuthenticationNotSupportedException()
public LdapAuthenticationNotSupportedException(java.lang.String explanation, ResultCodeEnum resultCode)
resultCode
- the resultCode enumeration
java.lang.IllegalArgumentException
- if the resultCode is not one of the codes corresponding to an
AuthenticationNotSupportedExceptionAuthenticationNotSupportedException.AuthenticationNotSupportedException(String)
Method Detail |
public ResultCodeEnum getResultCode()
LdapException
getResultCode
in interface LdapException
LdapException.getResultCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |