jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r767505 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/FrozenNodeIteratorAdapter.java
Date Wed, 22 Apr 2009 13:02:36 GMT
Author: thomasm
Date: Wed Apr 22 13:02:35 2009
New Revision: 767505

URL: http://svn.apache.org/viewvc?rev=767505&view=rev
Log:
JCR-1982 Exception root cause is swallowed in various places

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/FrozenNodeIteratorAdapter.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/FrozenNodeIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/FrozenNodeIteratorAdapter.java?rev=767505&r1=767504&r2=767505&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/FrozenNodeIteratorAdapter.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/FrozenNodeIteratorAdapter.java
Wed Apr 22 13:02:35 2009
@@ -43,7 +43,7 @@
         try {
             return ((Version) next()).getFrozenNode();
         } catch (RepositoryException e) {
-            throw new IllegalStateException(e.toString());
+            throw (IllegalStateException) new IllegalStateException(e.toString()).initCause(e);
         }
     }
 }
\ No newline at end of file



Mime
View raw message