directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r910225 - /directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnection.java
Date Mon, 15 Feb 2010 14:28:34 GMT
Author: kayyagari
Date: Mon Feb 15 14:28:33 2010
New Revision: 910225

URL: http://svn.apache.org/viewvc?rev=910225&view=rev
Log:
o trivial changes (updated a error message and removed the statements printing stactrace)

Modified:
    directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnection.java

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnection.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnection.java?rev=910225&r1=910224&r2=910225&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnection.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapConnection.java
Mon Feb 15 14:28:33 2010
@@ -714,7 +714,7 @@
     {
         if ( entry == null )
         {
-            String msg = "Cannot add empty entry";
+            String msg = "Cannot add null entry";
             LOG.debug( msg );
             throw new NullPointerException( msg );
         }
@@ -777,8 +777,6 @@
         }
         catch ( Exception ie )
         {
-            ie.printStackTrace();
-            
             // Catch all other exceptions
             LOG.error( NO_RESPONSE_ERROR, ie );
             LdapException ldapException = new LdapException( NO_RESPONSE_ERROR );
@@ -1216,8 +1214,6 @@
         }
         catch ( Exception ie )
         {
-            ie.printStackTrace();
-            
             // Catch all other exceptions
             LOG.error( NO_RESPONSE_ERROR, ie );
             LdapException ldapException = new LdapException( NO_RESPONSE_ERROR );
@@ -2169,8 +2165,6 @@
         }
         catch ( Exception ie )
         {
-            ie.printStackTrace();
-            
             // Catch all other exceptions
             LOG.error( NO_RESPONSE_ERROR, ie );
             LdapException ldapException = new LdapException( NO_RESPONSE_ERROR );
@@ -2396,8 +2390,6 @@
         }
         catch ( Exception ie )
         {
-            ie.printStackTrace();
-            
             // Catch all other exceptions
             LOG.error( NO_RESPONSE_ERROR, ie );
             LdapException ldapException = new LdapException( NO_RESPONSE_ERROR );
@@ -2719,8 +2711,6 @@
         }
         catch ( Exception ie )
         {
-            ie.printStackTrace();
-            
             // Catch all other exceptions
             LOG.error( NO_RESPONSE_ERROR, ie );
             LdapException ldapException = new LdapException( NO_RESPONSE_ERROR );
@@ -2982,8 +2972,6 @@
         }
         catch ( Exception ie )
         {
-            ie.printStackTrace();
-            
             // Catch all other exceptions
             LOG.error( NO_RESPONSE_ERROR, ie );
             LdapException ldapException = new LdapException( NO_RESPONSE_ERROR );
@@ -3178,8 +3166,6 @@
         }
         catch ( Exception ie )
         {
-            ie.printStackTrace();
-
             // Catch all other exceptions
             LOG.error( NO_RESPONSE_ERROR, ie );
             LdapException ldapException = new LdapException( NO_RESPONSE_ERROR );



Mime
View raw message