jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1521746 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/ItemDelegate.java
Date Wed, 11 Sep 2013 06:39:01 GMT
Author: chetanm
Date: Wed Sep 11 06:39:01 2013
New Revision: 1521746

URL: http://svn.apache.org/r1521746
Log:
OAK-946 - Improve support for debugging Oak

Improving the InvalidItemStateException to provide path of item which has become invalid

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/ItemDelegate.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/ItemDelegate.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/ItemDelegate.java?rev=1521746&r1=1521745&r2=1521746&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/ItemDelegate.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/ItemDelegate.java
Wed Sep 11 06:39:01 2013
@@ -59,7 +59,7 @@ public abstract class ItemDelegate {
         if (updateCount != sessionCount) {
             if (!exists()) {
                 throw new InvalidItemStateException(
-                        "This item does not exist anymore");
+                        "This item does not exist anymore : " + getPath());
             }
             updateCount = sessionCount;
         }



Mime
View raw message