You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2008/05/15 20:21:05 UTC

svn commit: r656769 - in /directory/apacheds/branches/bigbang: core-avl/src/main/java/org/apache/directory/server/core/avltree/DefaultMarshaller.java jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java

Author: akarasulu
Date: Thu May 15 11:21:05 2008
New Revision: 656769

URL: http://svn.apache.org/viewvc?rev=656769&view=rev
Log:
correcting information loss cited by Felix on earlier commit

Modified:
    directory/apacheds/branches/bigbang/core-avl/src/main/java/org/apache/directory/server/core/avltree/DefaultMarshaller.java
    directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java

Modified: directory/apacheds/branches/bigbang/core-avl/src/main/java/org/apache/directory/server/core/avltree/DefaultMarshaller.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-avl/src/main/java/org/apache/directory/server/core/avltree/DefaultMarshaller.java?rev=656769&r1=656768&r2=656769&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-avl/src/main/java/org/apache/directory/server/core/avltree/DefaultMarshaller.java (original)
+++ directory/apacheds/branches/bigbang/core-avl/src/main/java/org/apache/directory/server/core/avltree/DefaultMarshaller.java Thu May 15 11:21:05 2008
@@ -61,7 +61,9 @@
         }
         catch ( ClassNotFoundException e )
         {
-            throw new IOException( "Could not find class" );
+            IOException ioe = new IOException( "Could not find class" );
+            ioe.initCause( e );
+            throw ioe;
         }
 
         return object;

Modified: directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java?rev=656769&r1=656768&r2=656769&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java (original)
+++ directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java Thu May 15 11:21:05 2008
@@ -176,7 +176,9 @@
         }
         catch ( NamingException e )
         {
-            throw new IOException( "Failed to find an equality matching rule for attribute type" );
+            IOException ioe = new IOException( "Failed to find an equality matching rule for attribute type" );
+            ioe.initCause( e );
+            throw ioe;
         }
 
         /*