jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1225177 - in /jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit: NodeImpl.java PropertyImpl.java
Date Wed, 28 Dec 2011 13:01:15 GMT
Author: mduerig
Date: Wed Dec 28 13:01:14 2011
New Revision: 1225177

URL: http://svn.apache.org/viewvc?rev=1225177&view=rev
Log:
Microkernel based prototype of JCR implementation (WIP)
- improve error reporting

Modified:
    jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
    jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java?rev=1225177&r1=1225176&r2=1225177&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
Wed Dec 28 13:01:14 2011
@@ -619,7 +619,7 @@ public class NodeImpl extends ItemImpl i
                 revision = sessionContext.getRevision();
             }
             catch (PathNotFoundException e) {
-                throw new InvalidItemStateException(path.toString(), e);
+                throw new InvalidItemStateException(path.getJcrPath(), e);
             }
         }
         return node;

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java?rev=1225177&r1=1225176&r2=1225177&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java
Wed Dec 28 13:01:14 2011
@@ -308,7 +308,7 @@ public class PropertyImpl extends ItemIm
                 revision = sessionContext.getRevision();
             }
             catch (PathNotFoundException e) {
-                throw new InvalidItemStateException(path.toString(), e);
+                throw new InvalidItemStateException(path.getJcrPath(), e);
             }
         }
         return value;



Mime
View raw message