Exception handling!!!

"Pratima Shet" <[email protected]> Tue, 20 Apr 2010 15:45:12 +0530
Newsgroups gmane.network.openldap.general
Message-ID <9D5E1752379A43408015F7FE984661150808D6CE@CHNEXVS01.VSNLXCHANGE.COM>

Hi all,

I am using  openldap library in Mac os ( Snow leopard). Some time, my code crashes inside the "liblber".
I am using ldap_start_tls_s(). I think ldap_start_tls_s() is corrupting the ldap handle.
How can I catch the exceptions from the library?

In some link I found out that It supports exception handling.

thanks and regards,
Pratima