joerghoh commented on code in PR #605:
URL: https://github.com/apache/jackrabbit-oak/pull/605#discussion_r913501053


##########
oak-core/src/main/java/org/apache/jackrabbit/oak/core/MutableTree.java:
##########
@@ -348,7 +348,7 @@ private void beforeRead() throws IllegalStateException {
     private void beforeWrite() throws IllegalStateException {
         beforeRead();
         if (!super.exists()) {
-            throw new IllegalStateException("This tree does not exist");
+            throw new IllegalStateException("This tree does not exist for "  + 
super.getPath());

Review Comment:
   ```suggestion
               throw new IllegalStateException("The tree for "  + 
super.getPath() + " does not exist);
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to