else if ( eie.getCause() != null && ( eie instanceof LdapException ) )
else if ( eie.getCause() != null )
    public void invoke( Invocation invocation ) throws NamingException    {        if ( invocation.getState() == InvocationStateEnum.FAILUREHANDLING )        {            Throwable t = null;            if ( invocation.getBeforeFailure() != null )            {                t = invocation.getBeforeFailure();                if ( t instanceof InterceptorException )                {                    InterceptorException eie = ( InterceptorException ) t;                    if ( eie.getRootCause() != null && ( eie instanceof LdapException ) )                    {                        invocation.setBeforeFailure( eie.getRootCause() );                    }                    else if ( eie.getCause() != null && ( eie instanceof LdapException ) )                    {                        invocation.setBeforeFailure( eie.getCause() );                    }                }            }            else if ( invocation.getAfterFailure() != null )            {                t = invocation.getAfterFailure();                if ( t instanceof InterceptorException )                {                    InterceptorException eie = ( InterceptorException ) t;                    if ( eie.getRootCause() != null && ( eie instanceof LdapException ) )                    {                        invocation.setAfterFailure( eie.getRootCause() );                    }                    else if ( eie.getCause() != null && ( eie instanceof LdapException ) )                    {                        invocation.setAfterFailure( eie.getCause() );                    }                }            }        }        super.invoke( invocation );    }