jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r155797 - incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote
Date Tue, 01 Mar 2005 16:07:29 GMT
Author: jukka
Date: Tue Mar  1 08:07:22 2005
New Revision: 155797

URL: http://svn.apache.org/viewcvs?view=rev&rev=155797
Log:
Checkstyle conformance:
- removed unneeded public modifiers from interface methods
- removed extra exception declarations
- improved some javadocs

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItem.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItemDef.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteLock.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNamespaceRegistry.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNode.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeDef.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeType.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeTypeManager.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteProperty.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemotePropertyDef.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQuery.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryManager.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryResult.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRepository.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRow.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteSession.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteWorkspace.java

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItem.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItem.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItem.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItem.java Tue Mar  1 08:07:22 2005
@@ -19,13 +19,7 @@
 import java.rmi.Remote;
 import java.rmi.RemoteException;
 
-import javax.jcr.AccessDeniedException;
-import javax.jcr.InvalidItemStateException;
-import javax.jcr.ItemNotFoundException;
-import javax.jcr.ReferentialIntegrityException;
 import javax.jcr.RepositoryException;
-import javax.jcr.lock.LockException;
-import javax.jcr.nodetype.ConstraintViolationException;
 
 /**
  * Remote version of the JCR {@link javax.jcr.Item Item} interface.
@@ -52,66 +46,62 @@
      * @see javax.jcr.Item#getPath()
      * @throws RemoteException on RMI exceptions
      */
-    public String getPath() throws RepositoryException, RemoteException;
+    String getPath() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Item#getName()
      * @throws RemoteException on RMI exceptions
      */
-    public String getName() throws RepositoryException, RemoteException;
+    String getName() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Item#getAncestor(int)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteItem getAncestor(int level) throws ItemNotFoundException,
-        AccessDeniedException, RepositoryException, RemoteException;
+    RemoteItem getAncestor(int level)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Item#getParent()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNode getParent() throws ItemNotFoundException,
-        AccessDeniedException, RepositoryException, RemoteException;
+    RemoteNode getParent() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Item#getDepth()
      * @throws RemoteException on RMI exceptions
      */
-    public int getDepth() throws RepositoryException, RemoteException;
+    int getDepth() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Item#isNew()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean isNew() throws RemoteException;
+    boolean isNew() throws RemoteException;
 
     /**
      * @see javax.jcr.Item#isModified()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean isModified() throws RemoteException;
+    boolean isModified() throws RemoteException;
 
     /**
      * @see javax.jcr.Item#save()
      * @throws RemoteException on RMI exceptions
      */
-    public void save() throws AccessDeniedException, LockException,
-            ConstraintViolationException, InvalidItemStateException,
-            ReferentialIntegrityException, RepositoryException,
-            RemoteException;
+    void save() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Item#refresh(boolean)
      * @throws RemoteException on RMI exceptions
      */
-    public void refresh(boolean keepChanges) throws InvalidItemStateException,
-            RepositoryException, RemoteException;
+    void refresh(boolean keepChanges)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Item#remove()
      * @throws RemoteException on RMI exceptions
      */
-    public void remove() throws RepositoryException, RemoteException;
+    void remove() throws RepositoryException, RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItemDef.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItemDef.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItemDef.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItemDef.java Tue Mar  1 08:07:22 2005
@@ -21,7 +21,7 @@
 
 /**
  * Remote version of the JCR {@link javax.jcr.nodetype.ItemDef ItemDef}
- * interface. Used by the 
+ * interface. Used by the
  * {@link org.apache.jackrabbit.rmi.server.ServerItemDef ServerItemDef} and
  * {@link org.apache.jackrabbit.rmi.client.ClientItemDef ClientItemDef}
  * adapter base classes to provide transparent RMI access to remote item
@@ -31,7 +31,7 @@
  * to a corresponding ItemDef method. The remote object will simply forward
  * the method call to the underlying ItemDef instance. Argument and return
  * values, as well as possible exceptions, are copied over the network.
- * Compex {@link javax.jcr.nodetype.NodeType NodeType} return values 
+ * Compex {@link javax.jcr.nodetype.NodeType NodeType} return values
  * are returned as remote references to the
  * {@link org.apache.jackrabbit.rmi.remote.RemoteNodeType RemoteNodeType}
  * interface. RMI errors are signalled with RemoteExceptions.
@@ -42,41 +42,41 @@
  * @see org.apache.jackrabbit.rmi.server.ServerItemDef
  */
 public interface RemoteItemDef extends Remote {
-    
+
     /**
      * @see javax.jcr.nodetype.ItemDef#getDeclaringNodeType()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType getDeclaringNodeType() throws RemoteException;
+    RemoteNodeType getDeclaringNodeType() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.ItemDef#getName()
      * @throws RemoteException on RMI errors
      */
-    public String getName() throws RemoteException;
+    String getName() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.ItemDef#isAutoCreate()
      * @throws RemoteException on RMI errors
      */
-    public boolean isAutoCreate() throws RemoteException;
+    boolean isAutoCreate() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.ItemDef#isMandatory()
      * @throws RemoteException on RMI errors
      */
-    public boolean isMandatory() throws RemoteException;
+    boolean isMandatory() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.ItemDef#getOnParentVersion()
      * @throws RemoteException on RMI errors
      */
-    public int getOnParentVersion() throws RemoteException;
+    int getOnParentVersion() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.ItemDef#isProtected()
      * @throws RemoteException on RMI errors
      */
-    public boolean isProtected() throws RemoteException;
+    boolean isProtected() throws RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteLock.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteLock.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteLock.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteLock.java Tue Mar  1 08:07:22 2005
@@ -20,7 +20,6 @@
 import java.rmi.RemoteException;
 
 import javax.jcr.RepositoryException;
-import javax.jcr.lock.LockException;
 
 /**
  * Remote version of the JCR {@link javax.jcr.lock.Lock} interface.
@@ -45,31 +44,30 @@
      * @see javax.jcr.lock.Lock#getLockOwner()
      * @throws RemoteException on RMI exceptions
      */
-    public String getLockOwner() throws RemoteException;
+    String getLockOwner() throws RemoteException;
 
     /**
      * @see javax.jcr.lock.Lock#isDeep()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean isDeep() throws RemoteException;
+    boolean isDeep() throws RemoteException;
 
     /**
      * @see javax.jcr.lock.Lock#getLockToken()
      * @throws RemoteException on RMI exceptions
      */
-    public String getLockToken() throws RemoteException;
+    String getLockToken() throws RemoteException;
 
     /**
      * @see javax.jcr.lock.Lock#isLive()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean isLive() throws RemoteException;
+    boolean isLive() throws RemoteException;
 
     /**
      * @see javax.jcr.lock.Lock#refresh()
      * @throws RemoteException on RMI exceptions
      */
-    public void refresh() throws LockException, RepositoryException,
-        RemoteException;
+    void refresh() throws RepositoryException, RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNamespaceRegistry.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNamespaceRegistry.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNamespaceRegistry.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNamespaceRegistry.java Tue Mar  1 08:07:22 2005
@@ -19,7 +19,6 @@
 import java.rmi.Remote;
 import java.rmi.RemoteException;
 
-import javax.jcr.NamespaceException;
 import javax.jcr.RepositoryException;
 
 /**
@@ -48,40 +47,38 @@
      * @see javax.jcr.NamespaceRegistry#registerNamespace(java.lang.String,java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void registerNamespace(String prefix, String uri)
-            throws NamespaceException, RepositoryException, RemoteException;
+    void registerNamespace(String prefix, String uri)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.NamespaceRegistry#unregisterNamespace(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void unregisterNamespace(String prefix)
-        throws NamespaceException, RepositoryException, RemoteException;
+    void unregisterNamespace(String prefix)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.NamespaceRegistry#getPrefixes()
      * @throws RemoteException on RMI errors
      */
-    public String[] getPrefixes() throws RepositoryException, RemoteException;
+    String[] getPrefixes() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.NamespaceRegistry#getURIs()
      * @throws RemoteException on RMI errors
      */
-    public String[] getURIs() throws RepositoryException, RemoteException;
+    String[] getURIs() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.NamespaceRegistry#getURI(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public String getURI(String prefix)
-        throws NamespaceException, RepositoryException, RemoteException;
+    String getURI(String prefix) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.NamespaceRegistry#getPrefix(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public String getPrefix(String uri)
-        throws NamespaceException, RepositoryException, RemoteException;
+    String getPrefix(String uri) throws RepositoryException, RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNode.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNode.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNode.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNode.java Tue Mar  1 08:07:22 2005
@@ -18,21 +18,8 @@
 
 import java.rmi.RemoteException;
 
-import javax.jcr.AccessDeniedException;
-import javax.jcr.InvalidItemStateException;
-import javax.jcr.ItemExistsException;
-import javax.jcr.ItemNotFoundException;
-import javax.jcr.MergeException;
-import javax.jcr.NoSuchWorkspaceException;
-import javax.jcr.PathNotFoundException;
 import javax.jcr.RepositoryException;
-import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.Value;
-import javax.jcr.ValueFormatException;
-import javax.jcr.lock.LockException;
-import javax.jcr.nodetype.ConstraintViolationException;
-import javax.jcr.nodetype.NoSuchNodeTypeException;
-import javax.jcr.version.VersionException;
 
 
 /**
@@ -71,283 +58,253 @@
      * @see javax.jcr.Node#addNode(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNode addNode(String path) throws ItemExistsException,
-        PathNotFoundException, ConstraintViolationException,
-        RepositoryException, RemoteException;
+    RemoteNode addNode(String path) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#addNode(java.lang.String, java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNode addNode(String path, String type) throws
-        ItemExistsException, PathNotFoundException, NoSuchNodeTypeException,
-        ConstraintViolationException, RepositoryException, RemoteException;
+    RemoteNode addNode(String path, String type)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getProperty(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteProperty getProperty(String path) throws PathNotFoundException,
-        RepositoryException, RemoteException;
+    RemoteProperty getProperty(String path)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getProperties()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteProperty[] getProperties() throws RepositoryException,
-        RemoteException;
+    RemoteProperty[] getProperties()
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Node#getProperties(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteProperty[] getProperties(String pattern) throws
-        RepositoryException, RemoteException;
+    RemoteProperty[] getProperties(String pattern)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getPrimaryItem()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteItem getPrimaryItem() throws ItemNotFoundException,
-        RepositoryException, RemoteException;
+    RemoteItem getPrimaryItem() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getUUID()
      * @throws RemoteException on RMI exceptions
      */
-    public String getUUID() throws UnsupportedRepositoryOperationException,
-        RepositoryException, RemoteException;
+    String getUUID() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getReferences()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteProperty[] getReferences() throws RepositoryException,
-        RemoteException;
+    RemoteProperty[] getReferences()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getNodes()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNode[] getNodes() throws RepositoryException, RemoteException;
+    RemoteNode[] getNodes() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getNodes(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNode[] getNodes(String pattern) throws RepositoryException,
-        RemoteException;
+    RemoteNode[] getNodes(String pattern)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#hasNode(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public boolean hasNode(String path) throws RepositoryException,
-        RemoteException;
+    boolean hasNode(String path) throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Node#hasProperty(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public boolean hasProperty(String path) throws RepositoryException,
-        RemoteException;
+    boolean hasProperty(String path)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#hasNodes()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean hasNodes() throws RepositoryException, RemoteException;
+    boolean hasNodes() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#hasProperties()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean hasProperties() throws RepositoryException, RemoteException;
+    boolean hasProperties() throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Node#getPrimaryNodeType()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNodeType getPrimaryNodeType()
-        throws RepositoryException, RemoteException;
+    RemoteNodeType getPrimaryNodeType()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getMixinNodeTypes()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNodeType[] getMixinNodeTypes()
-        throws RepositoryException, RemoteException;
+    RemoteNodeType[] getMixinNodeTypes()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#isNodeType(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public boolean isNodeType(String type)
-        throws RepositoryException, RemoteException;
+    boolean isNodeType(String type) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getNode(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNode getNode(String path) throws PathNotFoundException,
-        RepositoryException, RemoteException;
+    RemoteNode getNode(String path) throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Node#orderBefore(java.lang.String, java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public void orderBefore(String src, String dst) throws
-        UnsupportedRepositoryOperationException,
-        ConstraintViolationException, ItemNotFoundException,
-        RepositoryException, RemoteException;
+    void orderBefore(String src, String dst)
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Node#setProperty(java.lang.String, javax.jcr.Value)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteProperty setProperty(String name, Value value) throws
-        ValueFormatException, RepositoryException, RemoteException;
+    RemoteProperty setProperty(String name, Value value)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#setProperty(java.lang.String, javax.jcr.Value[])
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteProperty setProperty(String name, Value[] value) throws
-        ValueFormatException, RepositoryException, RemoteException;
+    RemoteProperty setProperty(String name, Value[] value)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#addMixin(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public void addMixin(String name) throws NoSuchNodeTypeException,
-        ConstraintViolationException, RepositoryException, RemoteException;
+    void addMixin(String name) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#removeMixin(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public void removeMixin(String name) throws NoSuchNodeTypeException,
-        ConstraintViolationException, RepositoryException, RemoteException;
+    void removeMixin(String name) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#canAddMixin(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public boolean canAddMixin(String name) throws RepositoryException,
-        RemoteException;
+    boolean canAddMixin(String name)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getDefinition()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteNodeDef getDefinition() throws RepositoryException,
-        RemoteException;
+    RemoteNodeDef getDefinition() throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Node#checkout()
      * @throws RemoteException on RMI exceptions
      */
-    public void checkout() throws UnsupportedRepositoryOperationException,
-        RepositoryException, RemoteException;
+    void checkout() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#update(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public void update(String workspace) throws NoSuchWorkspaceException,
-        AccessDeniedException, RepositoryException, RemoteException;
+    void update(String workspace) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#merge(java.lang.String, boolean)
      * @throws RemoteException on RMI exceptions
      */
-    public void merge(String workspace, boolean bestEffort) throws
-        UnsupportedRepositoryOperationException, NoSuchWorkspaceException,
-        AccessDeniedException, MergeException, RepositoryException,
-        RemoteException;
+    void merge(String workspace, boolean bestEffort)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getCorrespondingNodePath(java.lang.String)
      * @throws RemoteException on RMI exceptions
      */
-    public String getCorrespondingNodePath(String workspace) throws
-        ItemNotFoundException, NoSuchWorkspaceException, AccessDeniedException,
-        RepositoryException, RemoteException;
+    String getCorrespondingNodePath(String workspace)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#getIndex()
      * @throws RemoteException on RMI exceptions
      */
-    public int getIndex() throws RepositoryException, RemoteException;
+    int getIndex() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#restore(java.lang.String, boolean)
      * @throws RemoteException on RMI exceptions
      */
-    public void restore(String version, boolean removeExisting) throws
-        VersionException, ItemExistsException,
-        UnsupportedRepositoryOperationException, LockException,
-        InvalidItemStateException, RepositoryException, RemoteException;
+    void restore(String version, boolean removeExisting)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#restoreByLabel(java.lang.String, boolean)
      * @throws RemoteException on RMI exceptions
      */
-    public void restoreByLabel(String label, boolean removeExisting) throws
-        VersionException, ItemExistsException,
-        UnsupportedRepositoryOperationException, LockException,
-        InvalidItemStateException, RepositoryException, RemoteException;
+    void restoreByLabel(String label, boolean removeExisting)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#unlock()
      * @throws RemoteException on RMI exceptions
      */
-    public void unlock() throws UnsupportedRepositoryOperationException,
-        LockException, AccessDeniedException, RepositoryException,
-        RemoteException;
+    void unlock() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#holdsLock()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean holdsLock() throws RepositoryException, RemoteException;
+    boolean holdsLock() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#isLocked()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean isLocked() throws RepositoryException, RemoteException;
+    boolean isLocked() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#isCheckedOut()
      * @throws RemoteException on RMI exceptions
      */
-    public boolean isCheckedOut() throws
-        UnsupportedRepositoryOperationException, RepositoryException,
-        RemoteException;
+    boolean isCheckedOut() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#setProperty(java.lang.String, javax.jcr.Value[], int)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteProperty setProperty(String name, Value[] values, int type)
-        throws ValueFormatException, VersionException, LockException,
-        RepositoryException, RemoteException;
+    RemoteProperty setProperty(String name, Value[] values, int type)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Node#lock(boolean, boolean)
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteLock lock(boolean isDeep, boolean isSessionScoped) throws
-        UnsupportedRepositoryOperationException, LockException,
-        AccessDeniedException, RepositoryException, RemoteException;
+    RemoteLock lock(boolean isDeep, boolean isSessionScoped)
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Node#getLock()
      * @throws RemoteException on RMI exceptions
      */
-    public RemoteLock getLock() throws UnsupportedRepositoryOperationException,
-        LockException, AccessDeniedException, RepositoryException,
-        RemoteException;
+    RemoteLock getLock() throws RepositoryException, RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeDef.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeDef.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeDef.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeDef.java Tue Mar  1 08:07:22 2005
@@ -40,23 +40,23 @@
  * @see org.apache.jackrabbit.rmi.server.ServerNodeDef
  */
 public interface RemoteNodeDef extends RemoteItemDef {
-    
+
     /**
      * @see javax.jcr.nodetype.NodeDef#getRequiredPrimaryTypes()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException;
+    RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeDef#getDefaultPrimaryType()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType getDefaultPrimaryType() throws RemoteException;
+    RemoteNodeType getDefaultPrimaryType() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeDef#allowSameNameSibs()
      * @throws RemoteException on RMI errors
      */
-    public boolean allowSameNameSibs() throws RemoteException;
+    boolean allowSameNameSibs() throws RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeType.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeType.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeType.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeType.java Tue Mar  1 08:07:22 2005
@@ -47,96 +47,96 @@
      * @see javax.jcr.nodetype.NodeType#getName()
      * @throws RemoteException on RMI errors
      */
-    public String getName() throws RemoteException;
+    String getName() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#isMixin()
      * @throws RemoteException on RMI errors
      */
-    public boolean isMixin() throws RemoteException;
+    boolean isMixin() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#hasOrderableChildNodes()
      * @throws RemoteException on RMI errors
      */
-    public boolean hasOrderableChildNodes() throws RemoteException;
+    boolean hasOrderableChildNodes() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#getSupertypes()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType[] getSupertypes() throws RemoteException;
+    RemoteNodeType[] getSupertypes() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#getDeclaredSupertypes()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType[] getDeclaredSupertypes() throws RemoteException;
+    RemoteNodeType[] getDeclaredSupertypes() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#isNodeType(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public boolean isNodeType(String type) throws RemoteException;
+    boolean isNodeType(String type) throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#getPropertyDefs()
      * @throws RemoteException on RMI errors
      */
-    public RemotePropertyDef[] getPropertyDefs() throws RemoteException;
+    RemotePropertyDef[] getPropertyDefs() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#getDeclaredPropertyDefs()
      * @throws RemoteException on RMI errors
      */
-    public RemotePropertyDef[] getDeclaredPropertyDefs() throws RemoteException;
+    RemotePropertyDef[] getDeclaredPropertyDefs() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#getChildNodeDefs()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeDef[] getChildNodeDefs() throws RemoteException;
+    RemoteNodeDef[] getChildNodeDefs() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#getDeclaredChildNodeDefs()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeDef[] getDeclaredChildNodeDefs() throws RemoteException;
+    RemoteNodeDef[] getDeclaredChildNodeDefs() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#canSetProperty(java.lang.String, javax.jcr.Value)
      * @throws RemoteException on RMI errors
      */
-    public boolean canSetProperty(String name, Value value) throws RemoteException;
+    boolean canSetProperty(String name, Value value) throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#canSetProperty(java.lang.String, javax.jcr.Value[])
      * @throws RemoteException on RMI errors
      */
-    public boolean canSetProperty(String name, Value[] values) throws RemoteException;
+    boolean canSetProperty(String name, Value[] values) throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#canAddChildNode(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public boolean canAddChildNode(String name) throws RemoteException;
+    boolean canAddChildNode(String name) throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#canAddChildNode(java.lang.String, java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public boolean canAddChildNode(String name, String type) throws RemoteException;
+    boolean canAddChildNode(String name, String type) throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#canRemoveItem(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public boolean canRemoveItem(String name) throws RemoteException;
+    boolean canRemoveItem(String name) throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeType#getPrimaryItemName()
      * @throws RemoteException on RMI errors
      */
-    public String getPrimaryItemName() throws RemoteException;
+    String getPrimaryItemName() throws RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeTypeManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeTypeManager.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeTypeManager.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeTypeManager.java Tue Mar  1 08:07:22 2005
@@ -20,7 +20,6 @@
 import java.rmi.RemoteException;
 
 import javax.jcr.RepositoryException;
-import javax.jcr.nodetype.NoSuchNodeTypeException;
 
 /**
  * Remote version of the JCR
@@ -52,28 +51,28 @@
      * @see javax.jcr.nodetype.NodeTypeManager#getNodeType(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType getNodeType(String name)
-        throws NoSuchNodeTypeException, RepositoryException, RemoteException;
+    RemoteNodeType getNodeType(String name)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeTypeManager#getAllNodeTypes()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType[] getAllNodeTypes()
-        throws RepositoryException, RemoteException;
+    RemoteNodeType[] getAllNodeTypes()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeTypeManager#getPrimaryNodeTypes()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType[] getPrimaryNodeTypes()
-        throws RepositoryException, RemoteException;
+    RemoteNodeType[] getPrimaryNodeTypes()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.nodetype.NodeTypeManager#getMixinNodeTypes()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeType[] getMixinNodeTypes()
-        throws RepositoryException, RemoteException;
+    RemoteNodeType[] getMixinNodeTypes()
+            throws RepositoryException, RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteProperty.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteProperty.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteProperty.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteProperty.java Tue Mar  1 08:07:22 2005
@@ -20,8 +20,6 @@
 
 import javax.jcr.RepositoryException;
 import javax.jcr.Value;
-import javax.jcr.ValueFormatException;
-
 
 /**
  * Remote version of the JCR {@link javax.jcr.Property Property} interface.
@@ -54,60 +52,54 @@
  * @see org.apache.jackrabbit.rmi.server.ServerProperty
  */
 public interface RemoteProperty extends RemoteItem {
-    
+
     /**
      * @see javax.jcr.Property#getValue()
      * @throws RemoteException on RMI exceptions
      */
-    public Value getValue()
-        throws ValueFormatException, RepositoryException, RemoteException;
+    Value getValue() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Property#getValues()
      * @throws RemoteException on RMI exceptions
      */
-    public Value[] getValues()
-        throws ValueFormatException, RepositoryException, RemoteException;
+    Value[] getValues() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Property#setValue(javax.jcr.Value)
      * @throws RemoteException on RMI exceptions
      */
-    public void setValue(Value value)
-        throws ValueFormatException, RepositoryException, RemoteException;
+    void setValue(Value value) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Property#setValue(javax.jcr.Value[])
      * @throws RemoteException on RMI exceptions
      */
-    public void setValue(Value[] values)
-        throws ValueFormatException, RepositoryException, RemoteException;
+    void setValue(Value[] values) throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Property#getLength()
      * @throws RemoteException on RMI exceptions
      */
-    public long getLength()
-        throws ValueFormatException, RepositoryException, RemoteException;
+    long getLength() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Property#getLengths()
      * @throws RemoteException on RMI exceptions
      */
-    public long[] getLengths()
-        throws ValueFormatException, RepositoryException, RemoteException;
+    long[] getLengths() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Property#getDefinition()
      * @throws RemoteException on RMI exceptions
      */
-    public RemotePropertyDef getDefinition() throws RepositoryException,
-        RemoteException;
+    RemotePropertyDef getDefinition()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Property#getType()
      * @throws RemoteException on RMI exceptions
      */
-    public int getType() throws RepositoryException, RemoteException;
+    int getType() throws RepositoryException, RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemotePropertyDef.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemotePropertyDef.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemotePropertyDef.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemotePropertyDef.java Tue Mar  1 08:07:22 2005
@@ -51,24 +51,24 @@
      * @see javax.jcr.nodetype.PropertyDef#getRequiredType()
      * @throws RemoteException on RMI errors
      */
-    public int getRequiredType() throws RemoteException;
+    int getRequiredType() throws RemoteException;
 
     /**
      * @throws RemoteException on RMI errors
      * @see javax.jcr.nodetype.PropertyDef#getValueConstraints()
      */
-    public String[] getValueConstraints() throws RemoteException;
+    String[] getValueConstraints() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.PropertyDef#getDefaultValues()
      * @throws RemoteException on RMI errors
      */
-    public Value[] getDefaultValues() throws RemoteException;
+    Value[] getDefaultValues() throws RemoteException;
 
     /**
      * @see javax.jcr.nodetype.PropertyDef#isMultiple()
      * @throws RemoteException on RMI errors
      */
-    public boolean isMultiple() throws RemoteException;
+    boolean isMultiple() throws RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQuery.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQuery.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQuery.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQuery.java Tue Mar  1 08:07:22 2005
@@ -19,14 +19,7 @@
 import java.rmi.Remote;
 import java.rmi.RemoteException;
 
-import javax.jcr.ItemExistsException;
-import javax.jcr.ItemNotFoundException;
-import javax.jcr.PathNotFoundException;
 import javax.jcr.RepositoryException;
-import javax.jcr.UnsupportedRepositoryOperationException;
-import javax.jcr.lock.LockException;
-import javax.jcr.nodetype.ConstraintViolationException;
-import javax.jcr.version.VersionException;
 
 /**
  * Remote version of the JCR {@link javax.jcr.query.Query Query} interface.
@@ -49,49 +42,36 @@
      * @return a <code>QueryResult</code>
      * @throws javax.jcr.RepositoryException if an error occurs
      */
-    public RemoteQueryResult execute()
-        throws RepositoryException, RemoteException;
+    RemoteQueryResult execute() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.query.Query#getStatement()
      *
      * @return the query statement.
      */
-    public String getStatement() throws RemoteException;
+    String getStatement() throws RemoteException;
 
     /**
      * @see javax.jcr.query.Query#getLanguage()
      *
      * @return the query language.
      */
-    public String getLanguage() throws RemoteException;
+    String getLanguage() throws RemoteException;
 
     /**
      * @see javax.jcr.query.Query#getPersistentQueryPath()
      *
      * @return path of the node representing this query.
-     * @throws ItemNotFoundException if this query is not a persistent query.
      * @throws RepositoryException if another error occurs.
      */
-    public String getPersistentQueryPath()
-        throws ItemNotFoundException, RepositoryException, RemoteException;
+    String getPersistentQueryPath() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.query.Query#save(String)
      *
      * @param absPath path at which to persist this query.
-     * @throws ItemExistsException If an item already exists at the indicated position
-     * @throws PathNotFoundException If the path cannot be found
-     * @throws VersionException if the parent node of absPath is versionable and checked-in (and therefore read-only).
-     * @throws ConstraintViolationException If creating the node would violate a
-     * node type (or other implementation specific) constraint.
-     * @throws LockException if a lock prevents the save.
-     * @throws UnsupportedRepositoryOperationException in a level 1 implementation.
      * @throws RepositoryException If another error occurs.
      */
-    public void save(String absPath) throws ItemExistsException,
-        PathNotFoundException, VersionException, ConstraintViolationException,
-        LockException, UnsupportedRepositoryOperationException,
-        RepositoryException, RemoteException;
-    
+    void save(String absPath) throws RepositoryException, RemoteException;
+
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryManager.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryManager.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryManager.java Tue Mar  1 08:07:22 2005
@@ -20,8 +20,6 @@
 import java.rmi.RemoteException;
 
 import javax.jcr.RepositoryException;
-import javax.jcr.query.InvalidQueryException;
-import javax.jcr.query.Query;
 
 /**
  * Remote version of the JCR {@link javax.jcr.query.QueryManager QueryManager} interface.
@@ -41,24 +39,21 @@
     /**
      * @see javax.jcr.query.QueryManager#createQuery
      *
-     * @throws InvalidQueryException if statement is invalid or language is unsupported.
      * @throws RepositoryException if another error occurs
      * @return A <code>Query</code> object.
      */
-    public RemoteQuery createQuery(String statement, String language)
-        throws InvalidQueryException, RepositoryException, RemoteException;
+    RemoteQuery createQuery(String statement, String language)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.query.QueryManager#getQuery
      *
      * @param absPath node path of a persisted query (that is, a node of type <code>nt:query</code>).
-     * @throws InvalidQueryException If <code>node</code> is not a valid persisted query
-     * (that is, a node of type <code>nt:query</code>).
      * @throws RepositoryException if another error occurs
      * @return a <code>Query</code> object.
      */
-    public RemoteQuery getQuery(String absPath)
-        throws InvalidQueryException, RepositoryException, RemoteException;
+    RemoteQuery getQuery(String absPath)
+            throws RepositoryException, RemoteException;
 
     /**
      * * @see javax.jcr.query.QueryManager#getSupportedQueryLanguages
@@ -66,6 +61,6 @@
      * See {@link Query}.
      * @return An string array.
      */
-    public String[] getSupportedQueryLanguages() throws RemoteException;
+    String[] getSupportedQueryLanguages() throws RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryResult.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryResult.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryResult.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryResult.java Tue Mar  1 08:07:22 2005
@@ -41,8 +41,7 @@
      * @return a <code>PropertyIterator</code>
      * @throws RepositoryException if an error occurs.
      */
-    public String[] getPropertyNames()
-        throws RepositoryException, RemoteException;
+    String[] getPropertyNames() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.query.QueryResult#getRows()
@@ -50,7 +49,7 @@
      * @return a <code>RowIterator</code>
      * @throws RepositoryException if an error occurs.
      */
-    public RemoteRow[] getRows() throws RepositoryException, RemoteException;
+    RemoteRow[] getRows() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.query.QueryResult#getNodes()
@@ -58,5 +57,6 @@
      * @return a <code>NodeIterator</code>
      * @throws RepositoryException if an error occurs.
      */
-    public RemoteNode[] getNodes() throws RepositoryException, RemoteException;
+    RemoteNode[] getNodes() throws RepositoryException, RemoteException;
+
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRepository.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRepository.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRepository.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRepository.java Tue Mar  1 08:07:22 2005
@@ -20,8 +20,6 @@
 import java.rmi.RemoteException;
 
 import javax.jcr.Credentials;
-import javax.jcr.LoginException;
-import javax.jcr.NoSuchWorkspaceException;
 import javax.jcr.RepositoryException;
 
 /**
@@ -36,10 +34,9 @@
  * to a corresponding Repository method. The remote object will simply
  * forward the method call to the underlying Repository instance.
  * {@link javax.jcr.Session Session} objects are returned as remote references
- * to the {@link org.apache.jackrabbit.rmi.remote.RemoteSession RemoteSession}
- * interface. Simple return values and possible exceptions are simply copied
- * over the network to the client. RMI errors are signalled with
- * RemoteExceptions.
+ * to the {@link RemoteSession RemoteSession} interface. Simple return
+ * values and possible exceptions are copied over the network to the client.
+ * RMI errors are signalled with RemoteExceptions.
  *
  * @author Jukka Zitting
  * @see javax.jcr.Repository
@@ -47,46 +44,54 @@
  * @see org.apache.jackrabbit.rmi.server.ServerRepository
  */
 public interface RemoteRepository extends Remote {
-    
+
     /**
-     * @see javax.jcr.Repository#getDescriptor(java.lang.String)
+     * @return descriptor value
      * @throws RemoteException on RMI errors
+     * @see javax.jcr.Repository#getDescriptor(java.lang.String)
      */
-    public String getDescriptor(String name) throws RemoteException;
-    
+    String getDescriptor(String name) throws RemoteException;
+
     /**
-     * @see javax.jcr.Repository#getDescriptorKeys()
+     * @return descriptor keys
      * @throws RemoteException on RMI errors
+     * @see javax.jcr.Repository#getDescriptorKeys()
      */
-    public String[] getDescriptorKeys() throws RemoteException;
-    
+    String[] getDescriptorKeys() throws RemoteException;
+
     /**
-     * @see javax.jcr.Repository#login()
+     * @return remote session
+     * @throws RepositoryException on repository errors
      * @throws RemoteException on RMI errors
+     * @see javax.jcr.Repository#login()
      */
-    public RemoteSession login() throws LoginException,
-        NoSuchWorkspaceException, RepositoryException, RemoteException;
-    
+    RemoteSession login() throws RepositoryException, RemoteException;
+
     /**
-     * @see javax.jcr.Repository#login(java.lang.String)
+     * @return remote session
+     * @throws RepositoryException on repository errors
      * @throws RemoteException on RMI errors
+     * @see javax.jcr.Repository#login(java.lang.String)
      */
-    public RemoteSession login(String workspace) throws LoginException,
-        NoSuchWorkspaceException, RepositoryException, RemoteException;
+    RemoteSession login(String workspace)
+            throws RepositoryException, RemoteException;
 
     /**
-     * @see javax.jcr.Repository#login(javax.jcr.Credentials)
+     * @return remote session
+     * @throws RepositoryException on repository errors
      * @throws RemoteException on RMI errors
+     * @see javax.jcr.Repository#login(javax.jcr.Credentials)
      */
-    public RemoteSession login(Credentials credentials) throws LoginException,
-        NoSuchWorkspaceException, RepositoryException, RemoteException;
+    RemoteSession login(Credentials credentials)
+            throws RepositoryException, RemoteException;
 
     /**
-     * @see javax.jcr.Repository#login(javax.jcr.Credentials, java.lang.String)
+     * @return remote session
+     * @throws RepositoryException on repository errors
      * @throws RemoteException on RMI errors
+     * @see javax.jcr.Repository#login(javax.jcr.Credentials, java.lang.String)
      */
-    public RemoteSession login(Credentials credentials, String workspace)
-        throws LoginException, NoSuchWorkspaceException, RepositoryException,
-        RemoteException;
-        
+    RemoteSession login(Credentials credentials, String workspace)
+            throws RepositoryException, RemoteException;
+
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRow.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRow.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRow.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRow.java Tue Mar  1 08:07:22 2005
@@ -19,7 +19,6 @@
 import java.rmi.Remote;
 import java.rmi.RemoteException;
 
-import javax.jcr.ItemNotFoundException;
 import javax.jcr.RepositoryException;
 import javax.jcr.Value;
 
@@ -37,21 +36,21 @@
  * @see org.apache.jackrabbit.rmi.server.ServerRow
  */
 public interface RemoteRow extends Remote {
+
     /**
      * @see javax.jcr.query.Row#getValues()
      *
      * @return a <code>Value</code> array.
      * @throws RepositoryException if an error occurs
      */
-    public Value[] getValues() throws RepositoryException, RemoteException;
+    Value[] getValues() throws RepositoryException, RemoteException;
 
     /**
-     * @see javax.jcr.query.Row#getValue(String) 
+     * @see javax.jcr.query.Row#getValue(String)
      *
      * @return a <code>Value</code>
-     * @throws ItemNotFoundException if <code>propertyName</code> s not among the
-     * column names of the query result table
      * @throws RepositoryException if anopther error occurs.
      */
-    public Value getValue(String propertyName) throws ItemNotFoundException, RepositoryException, RemoteException;
+    Value getValue(String propertyName)
+            throws RepositoryException, RemoteException;
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteSession.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteSession.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteSession.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteSession.java Tue Mar  1 08:07:22 2005
@@ -21,18 +21,8 @@
 import java.rmi.RemoteException;
 import java.security.AccessControlException;
 
-import javax.jcr.AccessDeniedException;
 import javax.jcr.Credentials;
-import javax.jcr.InvalidItemStateException;
-import javax.jcr.InvalidSerializedDataException;
-import javax.jcr.ItemExistsException;
-import javax.jcr.ItemNotFoundException;
-import javax.jcr.LoginException;
-import javax.jcr.NamespaceException;
-import javax.jcr.PathNotFoundException;
 import javax.jcr.RepositoryException;
-import javax.jcr.lock.LockException;
-import javax.jcr.nodetype.ConstraintViolationException;
 
 /**
  * Remote version of the JCR {@link javax.jcr.Session Session} interface.
@@ -61,107 +51,102 @@
      * @see javax.jcr.Session#getUserId()
      * @throws RemoteException on RMI errors
      */
-    public String getUserId() throws RemoteException;
+    String getUserId() throws RemoteException;
 
     /**
      * Returns the named attribute. Note that only serializable
      * attribute values can be transmitted over the network and that
      * the client should have (or be able to fetch) the object class
      * to access the returned value. Failures to meet these conditions
-     * are signalled with RemoteExceptions. 
-     * 
+     * are signalled with RemoteExceptions.
+     *
      * @see javax.jcr.Session#getAttribute(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public Object getAttribute(String name) throws RemoteException;
+    Object getAttribute(String name) throws RemoteException;
 
     /**
      * @see javax.jcr.Session#getAttributeNames()
      * @throws RemoteException on RMI errors
      */
-    public String[] getAttributeNames() throws RemoteException;
+    String[] getAttributeNames() throws RemoteException;
 
     /**
      * @see javax.jcr.Session#getWorkspace()
      * @throws RemoteException on RMI errors
      */
-    public RemoteWorkspace getWorkspace() throws RemoteException;
+    RemoteWorkspace getWorkspace() throws RemoteException;
 
     /**
      * @see javax.jcr.Session#impersonate(javax.jcr.Credentials)
      * @throws RemoteException on RMI errors
      */
-    public RemoteSession impersonate(Credentials credentials) throws
-        LoginException, RepositoryException, RemoteException;
+    RemoteSession impersonate(Credentials credentials)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Session#getNodeByUUID(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public RemoteNode getNodeByUUID(String uuid) throws ItemNotFoundException,
-        RepositoryException, RemoteException;
+    RemoteNode getNodeByUUID(String uuid)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Session#getItem(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public RemoteItem getItem(String path) throws PathNotFoundException,
-        RepositoryException, RemoteException;
+    RemoteItem getItem(String path) throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#itemExists(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public boolean itemExists(String path) throws RemoteException;
+    boolean itemExists(String path) throws RemoteException;
 
     /**
      * @see javax.jcr.Session#move(java.lang.String, java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void move(String from, String to) throws ItemExistsException,
-        PathNotFoundException, ConstraintViolationException,
-        RepositoryException, RemoteException;
+    void move(String from, String to)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Session#save()
      * @throws RemoteException on RMI errors
      */
-    public void save() throws AccessDeniedException, LockException,
-        ConstraintViolationException, InvalidItemStateException,
-        RepositoryException, RemoteException;
+    void save() throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#refresh(boolean)
      * @throws RemoteException on RMI errors
      */
-    public void refresh(boolean keepChanges) throws RepositoryException,
-        RemoteException;
+    void refresh(boolean keepChanges)
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#logout()
      * @throws RemoteException on RMI errors
      */
-    public void logout() throws RemoteException;
+    void logout() throws RemoteException;
 
     /**
      * @see javax.jcr.Session#getRootNode()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNode getRootNode() throws RepositoryException, RemoteException;
+    RemoteNode getRootNode() throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#hasPendingChanges()
      * @throws RemoteException on RMI errors
      */
-    public boolean hasPendingChanges() throws RepositoryException,
-        RemoteException;
+    boolean hasPendingChanges() throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Session#checkPermission(java.lang.String, java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void checkPermission(String path, String actions) throws
-        AccessControlException, RemoteException;
+    void checkPermission(String path, String actions)
+            throws AccessControlException, RemoteException;
 
     /**
      * Imports the system or document view XML data into a subtree of
@@ -174,56 +159,53 @@
      * @see javax.jcr.Session#importXML(java.lang.String, java.io.InputStream)
      * @throws RemoteException on RMI errors
      */
-    public void importXML(String path, byte[] xml) throws IOException,
-        PathNotFoundException, ItemExistsException,
-        ConstraintViolationException, InvalidSerializedDataException,
-        RepositoryException, RemoteException;
+    void importXML(String path, byte[] xml)
+            throws IOException, RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#setNamespacePrefix(java.lang.String, java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void setNamespacePrefix(String prefix, String uri) throws
-        NamespaceException, RepositoryException, RemoteException;
+    void setNamespacePrefix(String prefix, String uri)
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#getNamespacePrefixes()
      * @throws RemoteException on RMI errors
      */
-    public String[] getNamespacePrefixes() throws RepositoryException,
-        RemoteException;
+    String[] getNamespacePrefixes() throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#getNamespaceURI(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public String getNamespaceURI(String prefix) throws NamespaceException,
-        RepositoryException, RemoteException;
+    String getNamespaceURI(String prefix)
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#getNamespacePrefix(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public String getNamespacePrefix(String uri) throws NamespaceException,
-        RepositoryException, RemoteException;
+    String getNamespacePrefix(String uri)
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Session#addLockToken(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void addLockToken(String name) throws RemoteException;
+    void addLockToken(String name) throws RemoteException;
     
     /**
      * @see javax.jcr.Session#getLockTokens()
      * @throws RemoteException on RMI errors
      */
-    public String[] getLockTokens() throws RemoteException;
+    String[] getLockTokens() throws RemoteException;
     
     /**
      * @see javax.jcr.Session#removeLockToken(java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void removeLockToken(String name) throws RemoteException;
+    void removeLockToken(String name) throws RemoteException;
 
     /**
      * Exports the identified repository subtree as a system view XML
@@ -232,15 +214,13 @@
      * large exports. The remote server uses a
      * {@link java.io.ByteArrayOutputStream ByteArrayOutputStream} to capture
      * the XML data written by the normal exportSysView method.
-     * 
+     *
      * @see javax.jcr.Workspace#exportSysView(java.lang.String, java.io.OutputStream, boolean, boolean)
      * @throws RemoteException on RMI errors
      */
-    public byte[] exportSysView(
-        String path, boolean binaryAsLink, boolean noRecurse)
-        throws PathNotFoundException, IOException,
-        RepositoryException, RemoteException;
-    
+    byte[] exportSysView(String path, boolean binaryAsLink, boolean noRecurse)
+            throws IOException, RepositoryException, RemoteException;
+
     /**
      * Exports the identified repository subtree as a document view XML
      * stream. Note that the entire XML stream is transferred as a
@@ -248,13 +228,11 @@
      * large exports. The remote server uses a
      * {@link java.io.ByteArrayOutputStream ByteArrayOutputStream} to capture
      * the XML data written by the normal exportDocView method.
-     * 
+     *
      * @see javax.jcr.Workspace#exportDocView(java.lang.String, java.io.OutputStream, boolean, boolean)
      * @throws RemoteException on RMI errors
      */
-    public byte[] exportDocView(
-        String path, boolean binaryAsLink, boolean noRecurse)
-        throws InvalidSerializedDataException, PathNotFoundException,
-        IOException, RepositoryException, RemoteException;
+    byte[] exportDocView(String path, boolean binaryAsLink, boolean noRecurse)
+        throws IOException, RepositoryException, RemoteException;
 
 }

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteWorkspace.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteWorkspace.java?view=diff&r1=155796&r2=155797
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteWorkspace.java (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote/RemoteWorkspace.java Tue Mar  1 08:07:22 2005
@@ -20,14 +20,7 @@
 import java.rmi.Remote;
 import java.rmi.RemoteException;
 
-import javax.jcr.AccessDeniedException;
-import javax.jcr.InvalidSerializedDataException;
-import javax.jcr.ItemExistsException;
-import javax.jcr.NoSuchWorkspaceException;
-import javax.jcr.PathNotFoundException;
 import javax.jcr.RepositoryException;
-import javax.jcr.lock.LockException;
-import javax.jcr.nodetype.ConstraintViolationException;
 
 /**
  * Remote version of the JCR {@link javax.jcr.Workspace Workspace} interface.
@@ -42,7 +35,7 @@
  * will simply forward the method call to the underlying Workspace instance.
  * Complex return values like namespace registries and other objects are
  * returned as remote references to the corresponding remote interface. Simple
- * return values and possible exceptions are simply copied over the network
+ * return values and possible exceptions are copied over the network
  * to the client. RMI errors are signalled with RemoteExceptions.
  *
  * @author Jukka Zitting
@@ -56,80 +49,69 @@
      * @see javax.jcr.Workspace#getName()
      * @throws RemoteException on RMI errors
      */
-    public String getName() throws RemoteException;
+    String getName() throws RemoteException;
 
     /**
      * @see javax.jcr.Workspace#copy(java.lang.String,java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void copy(String from, String to) throws
-        ConstraintViolationException, AccessDeniedException,
-        PathNotFoundException, ItemExistsException, RepositoryException,
-        RemoteException;
+    void copy(String from, String to)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Workspace#copy(java.lang.String,java.lang.String,java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void copy(String from, String to, String workspace) throws
-        NoSuchWorkspaceException, ConstraintViolationException,
-        AccessDeniedException, PathNotFoundException, ItemExistsException,
-        RepositoryException, RemoteException;
+    void copy(String from, String to, String workspace)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Workspace#clone(java.lang.String, java.lang.String, java.lang.String, boolean)
      * @throws RemoteException on RMI errors
      */
-    public void clone(String from, String to, String workspace,
-        boolean removeExisting) throws NoSuchWorkspaceException,
-        ConstraintViolationException, AccessDeniedException,
-        PathNotFoundException, ItemExistsException, RepositoryException,
-        RemoteException;
+    void clone(String from, String to, String workspace, boolean removeExisting)
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Workspace#move(java.lang.String, java.lang.String)
      * @throws RemoteException on RMI errors
      */
-    public void move(String from, String to) throws
-        ConstraintViolationException, AccessDeniedException,
-        PathNotFoundException, ItemExistsException, RepositoryException,
-        RemoteException;
+    void move(String from, String to)
+            throws RepositoryException, RemoteException;
     
     /**
      * @see javax.jcr.Workspace#getNodeTypeManager()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNodeTypeManager getNodeTypeManager() throws
-        RepositoryException, RemoteException;
+    RemoteNodeTypeManager getNodeTypeManager()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Workspace#getNamespaceRegistry()
      * @throws RemoteException on RMI errors
      */
-    public RemoteNamespaceRegistry getNamespaceRegistry() throws
-        RepositoryException, RemoteException;
+    RemoteNamespaceRegistry getNamespaceRegistry()
+            throws RepositoryException, RemoteException;
 
     /**
      * @seejavax.jcr.Workspace#getQueryManager()
      * @throws RemoteException on RMI errors
      */
-    public RemoteQueryManager getQueryManager() throws RepositoryException,
-        RemoteException;
+    RemoteQueryManager getQueryManager()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Workspace#getAccessibleWorkspaceNames()
      * @throws RemoteException on RMI errors
      */
-    public String[] getAccessibleWorkspaceNames() throws RepositoryException,
-        RemoteException;
+    String[] getAccessibleWorkspaceNames()
+            throws RepositoryException, RemoteException;
 
     /**
      * @see javax.jcr.Workspace#importXML(java.lang.String, byte[], int)
      * @throws RemoteException on RMI errors
      */
-    public void importXML(String path, byte[] xml, int uuidBehaviour)
-        throws IOException, PathNotFoundException, ItemExistsException,
-        ConstraintViolationException, InvalidSerializedDataException,
-        LockException, RepositoryException, RemoteException;
+    void importXML(String path, byte[] xml, int uuidBehaviour)
+            throws IOException, RepositoryException, RemoteException;
 
 }



Mime
View raw message