directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1492209 - /directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
Date Wed, 12 Jun 2013 14:01:53 GMT
Author: elecharny
Date: Wed Jun 12 14:01:53 2013
New Revision: 1492209

URL: http://svn.apache.org/r1492209
Log:
o Removed the printStackTrace
o Removed the double cause init, which hides the original error

Modified:
    directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/GroupCache.java

Modified: directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/GroupCache.java?rev=1492209&r1=1492208&r2=1492209&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
(original)
+++ directory/apacheds/trunk/interceptors/authz/src/main/java/org/apache/directory/server/core/authz/GroupCache.java
Wed Jun 12 14:01:53 2013
@@ -185,9 +185,8 @@ public class GroupCache
             }
             catch ( Exception e )
             {
-                e.printStackTrace();
+                LOG.error( "Exception while initializing the groupCache:  {}", e.getCause()
);
                 LdapOperationException le = new LdapOperationException( e.getMessage(), e
);
-                le.initCause( e );
                 throw le;
             }
         }



Mime
View raw message