jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1475766 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
Date Thu, 25 Apr 2013 13:43:27 GMT
Author: mduerig
Date: Thu Apr 25 13:43:26 2013
New Revision: 1475766

URL: http://svn.apache.org/r1475766
Log:
OAK-781: Clarify / fix effects of MISSING_NODE as base state of NodeBuilder
More precise error message

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java?rev=1475766&r1=1475765&r2=1475766&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
Thu Apr 25 13:43:26 2013
@@ -134,7 +134,7 @@ public class MemoryNodeBuilder implement
 
     private void checkConnected() {
         if (!isConnected()) {
-            throw new IllegalStateException("This builder is not connected");
+            throw new IllegalStateException("This builder is not connected: " + name);
         }
     }
 



Mime
View raw message