jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1341038 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
Date Mon, 21 May 2012 14:10:41 GMT
Author: reschke
Date: Mon May 21 14:10:40 2012
New Revision: 1341038

URL: http://svn.apache.org/viewvc?rev=1341038&view=rev
Log:
OAK-6: make sure that unimplemented functionality doesn't silently fail

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java?rev=1341038&r1=1341037&r2=1341038&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/WorkspaceImpl.java
Mon May 21 14:10:40 2012
@@ -102,6 +102,7 @@ public class WorkspaceImpl implements Ja
         ensureIsAlive();
 
         // TODO -> SPI
+        throw new UnsupportedRepositoryOperationException("Not implemented.");
     }
 
     @SuppressWarnings("deprecation")
@@ -187,6 +188,7 @@ public class WorkspaceImpl implements Ja
         ensureSupportedOption(Repository.LEVEL_2_SUPPORTED);
 
         // TODO -> SPI
+        throw new UnsupportedRepositoryOperationException("TODO: Workspace.importXML");
     }
 
     @Override
@@ -195,6 +197,7 @@ public class WorkspaceImpl implements Ja
         ensureSupportedOption(Repository.OPTION_WORKSPACE_MANAGEMENT_SUPPORTED);
 
         // TODO -> SPI
+        throw new UnsupportedRepositoryOperationException("TODO: Workspace.createWorkspace");
     }
 
     @Override
@@ -203,6 +206,7 @@ public class WorkspaceImpl implements Ja
         ensureSupportedOption(Repository.OPTION_WORKSPACE_MANAGEMENT_SUPPORTED);
 
         // TODO -> SPI
+        throw new UnsupportedRepositoryOperationException("TODO: Workspace.createWorkspace");
     }
 
     @Override
@@ -211,6 +215,7 @@ public class WorkspaceImpl implements Ja
         ensureSupportedOption(Repository.OPTION_WORKSPACE_MANAGEMENT_SUPPORTED);
 
         // TODO -> SPI
+        throw new UnsupportedRepositoryOperationException("TODO: Workspace.deleteWorkspace");
     }
 
     //------------------------------------------------< JackrabbitWorkspace >---
@@ -221,6 +226,7 @@ public class WorkspaceImpl implements Ja
         ensureSupportedOption(Repository.OPTION_WORKSPACE_MANAGEMENT_SUPPORTED);
 
         // TODO -> SPI
+        throw new UnsupportedRepositoryOperationException("TODO: Workspace.createWorkspace");
     }
 
     /**



Mime
View raw message