-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

In LdapCoreSessionConnection.java we have multiple constructs like (see
below). The methods declares tho throw 2 Exceptions, but with this
construct they are never thrown. Is this on purpose?

public BindResponse bind() throws LdapException, IOException
{
    try
    {
        setSession( directoryService.getSession() );
    }
    catch( Exception e )
    {
    }
    return null;
}

More samples:
http://people.apache.org/~felixk/apacheds-docs/xref/org/apache/directory/server/core/LdapCoreSessionConnection.html#504
http://people.apache.org/~felixk/apacheds-docs/xref/org/apache/directory/server/core/LdapCoreSessionConnection.html#525
...

Felix

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvuT3sACgkQ2lZVCB08qHFGiACg3kq+vbD+p2zxSKRawI5seMHD
mqUAn1C7XfhZcAGi89r9NIiZElfJfJUs
=7pqw
-----END PGP SIGNATURE-----

Reply via email to