Thanks Stefan. Yes ModifyHandler is the one mapping the exceptions.
I guess from my custom partition, I can't just generate a NamingException, or it will be mapped to a generic "LDAP error code 54". I need to use an LdapNamingException. -----Original Message----- From: Stefan Zoerner [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 11:32 AM To: Apache Directory Developers List Subject: Re: LDAP: error code 54 Gianmaria Clerici wrote: ... > > > In fact it seems that I always get error code 54 with exception, also in > other cases. > > > > Any idea why ? > > Who might be changing the exception along the way ? > > > > I stepped through the Apache code and I could not find anything. > > Have you ckecked class ModifyHandler in package org.apache.ldap.server.protocol of the LDAP protocol provider? My next guess would be the ExceptionService interceptor. Greetings from Hamburg, Stefan
