com.ca.jcs.jndi
Class JNDIExceptionToLdapMapper
java.lang.Object
com.ca.jcs.jndi.JNDIExceptionToLdapMapper
public class JNDIExceptionToLdapMapper
- extends Object
Map exceptions from target JNDI NamingException to LdapNamingExceptions with meaningful
result codes where possible. Called to deal with exceptions generated by ApacheDS internally as well as
those received from managed systems by the JNDI connector.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESULT_CODE_REGEX
public static final String RESULT_CODE_REGEX
- See Also:
- Constant Field Values
JNDIExceptionToLdapMapper
public JNDIExceptionToLdapMapper()
JNDIExceptionToLdapMapper
public JNDIExceptionToLdapMapper(Collection<String> msgs)
mapJNDIExceptionToLdap
public NamingException mapJNDIExceptionToLdap(NamingException ne,
String explanation)
mapJNDIExceptionToLdapAndThrow
public void mapJNDIExceptionToLdapAndThrow(NamingException ne,
String explanation)
throws NamingException
- Throws:
NamingException
main
public static void main(String[] args)
Created 2011-07-14 13:27 EST