Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Are DBMS_LDAP errors actually thrown?

GaffJun 25 2012 — edited Jun 27 2012
Hi:

I've got some code that used DBMS_LDAP and I'm trying to catch basic errors like dbms_ldap.invalid_ssl_wallet_loc but when I give an invalid wallet location (or bad password or anything else) I just get a very general error such as

Error report:
ORA-31204: DBMS_LDAP: PL/SQL - Invalid LDAP Session.

I'm going through a Radant Logic LDAP. Do these errors only get thrown with the Oracle LDAP? I saw some example code in the APEX forum that had comments to the effect that these error coded never got generated, but it was a 2009 post.

My version is:


BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2012
Added on Jun 25 2012
2 comments
207 views