org.apache.directory.shared.ldap.exception
Class LdapAuthenticationNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.NamingSecurityException
javax.naming.AuthenticationNotSupportedException
org.apache.directory.shared.ldap.exception.LdapAuthenticationNotSupportedException
- All Implemented Interfaces:
- Serializable, LdapException
public class LdapAuthenticationNotSupportedException
- extends AuthenticationNotSupportedException
- implements LdapException
A subclass of the AuthenticationNotSupportedException
carrying along
an unequivocal ResultCodeEnum value.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
- See Also:
-
LDAP ResultCode to JNDI Exception Mappings,
Serialized Form
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
LdapAuthenticationNotSupportedException
public LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode)
- Creates an LdapException with the resultCode.
- Parameters:
resultCode
- the resultCode enumeration
- Throws:
IllegalArgumentException
- if the resultCode is not one of the codes corresponding to an
AuthenticationNotSupportedException- See Also:
AuthenticationNotSupportedException.AuthenticationNotSupportedException()
LdapAuthenticationNotSupportedException
public LdapAuthenticationNotSupportedException(String explanation,
ResultCodeEnum resultCode)
- Sets the resultCode associated with this LdapException.
- Parameters:
resultCode
- the resultCode enumeration
- Throws:
IllegalArgumentException
- if the resultCode is not one of the codes corresponding to an
AuthenticationNotSupportedException- See Also:
AuthenticationNotSupportedException.AuthenticationNotSupportedException(String)
getResultCode
public ResultCodeEnum getResultCode()
- Description copied from interface:
LdapException
- Gets the LDAP result code that would be associated with this exception.
- Specified by:
getResultCode
in interface LdapException
- Returns:
- the LDAP result code corresponding to this exception type.
- See Also:
LdapException.getResultCode()
Copyright © 2004-2012. All Rights Reserved.