directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1176392 - /directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
Date Tue, 27 Sep 2011 14:12:20 GMT
Author: elecharny
Date: Tue Sep 27 14:12:20 2011
New Revision: 1176392

URL: http://svn.apache.org/viewvc?rev=1176392&view=rev
Log:
Throw a specific exception instead of a generic LdapException

Modified:
    directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java

Modified: directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java?rev=1176392&r1=1176391&r2=1176392&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
(original)
+++ directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
Tue Sep 27 14:12:20 2011
@@ -1227,7 +1227,7 @@ public class LdapNetworkConnection exten
             String msg = "The given dn '" + name + "' is not valid";
             LOG.error( msg );
 
-            throw new LdapException( msg, ine );
+            throw new LdapInvalidDnException( msg, ine );
         }
     }
 



Mime
View raw message