jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r804949 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImplBase.java
Date Mon, 17 Aug 2009 12:21:20 GMT
Author: stefan
Date: Mon Aug 17 12:21:19 2009
New Revision: 804949

URL: http://svn.apache.org/viewvc?rev=804949&view=rev
Log:
partially reverting last commit (UnsuppRepOpExc->VersionExc) as it caused a test case failure
 

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImplBase.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImplBase.java?rev=804949&r1=804948&r2=804949&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImplBase.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImplBase.java
Mon Aug 17 12:21:19 2009
@@ -27,7 +27,6 @@
 import javax.jcr.PropertyType;
 import javax.jcr.ItemNotFoundException;
 import javax.jcr.version.Version;
-import javax.jcr.version.VersionException;
 
 import org.apache.jackrabbit.core.HierarchyManager;
 import org.apache.jackrabbit.core.SessionImpl;
@@ -257,7 +256,7 @@
         if (baseVersion.isRootVersion()) {
             String msg = "Unable to checkin configuration as it has unversioned child node:
" + safeGetJCRPath(root);
             log.debug(msg);
-            throw new VersionException(msg);
+            throw new UnsupportedRepositoryOperationException(msg);
         }
         baseVersions.add(baseVersion.getId());
 



Mime
View raw message