Previous Topic: Exceptions

Next Topic: Custom Connector Code Upgrade Considerations

LDAP Exception Considerations

Consider the following LDAP exceptions when writing a custom connector. Most exceptions are from the org.apache.directory.shared.ldap.exception package of ApacheDS, but a few exceptions are defined in the Java CS code. All the exceptions extend javax.naming.NamingException, but implement org.apache.directory.shared.ldap.exception.LdapException so a detailed LDAP code can be passed through.

Note: For more information on exceptions, see the JCS Javadoc for either the ApacheDS (included in the SDK installer) or the Java CS.

Note: For more information on other implementing classes that are not listed, see org.apache.directory.shared.ldap.message.ResultCodeEnum and org.apache.directory.shared.ldap.exception.LdapException,


Copyright © 2009 CA. All rights reserved.