You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by pi...@apache.org on 2004/11/08 04:24:53 UTC

svn commit: rev 56897 - in cocoon/whiteboard/kernel/sources/contracts/repository: . src/org/apache/cocoon/components/repository

Author: pier
Date: Sun Nov  7 19:24:52 2004
New Revision: 56897

Modified:
   cocoon/whiteboard/kernel/sources/contracts/repository/cocoon.xml
   cocoon/whiteboard/kernel/sources/contracts/repository/src/org/apache/cocoon/components/repository/AbstractRepository.java
Log:
Minor contract fixes

Modified: cocoon/whiteboard/kernel/sources/contracts/repository/cocoon.xml
==============================================================================
--- cocoon/whiteboard/kernel/sources/contracts/repository/cocoon.xml	(original)
+++ cocoon/whiteboard/kernel/sources/contracts/repository/cocoon.xml	Sun Nov  7 19:24:52 2004
@@ -3,6 +3,6 @@
 <contract xmlns="http://apache.org/cocoon/kernel/descriptor/1.0"
     id="http://cocoon.apache.org/kernel/contracts/repository/1.0">
 
-  <exposes interface="org.apache.cocoon.contracts.repository.Repository"/>
+  <exposes interface="org.apache.cocoon.components.repository.Repository"/>
 
 </contract>

Modified: cocoon/whiteboard/kernel/sources/contracts/repository/src/org/apache/cocoon/components/repository/AbstractRepository.java
==============================================================================
--- cocoon/whiteboard/kernel/sources/contracts/repository/src/org/apache/cocoon/components/repository/AbstractRepository.java	(original)
+++ cocoon/whiteboard/kernel/sources/contracts/repository/src/org/apache/cocoon/components/repository/AbstractRepository.java	Sun Nov  7 19:24:52 2004
@@ -67,9 +67,10 @@
      * @param document the {@link Document} to store.
      * @throws UnsupportedOperationException if this {@link Repository} is immutable.
      * @throws IOException if an I/O error occurred retrieving the {@link Document}.
+     * @throws SAXException if a SAX error occurred processing the content.
      */
     protected void doStore(String identifier, Document document)
-    throws UnsupportedOperationException, IOException {
+    throws UnsupportedOperationException, IOException, SAXException {
         throw new UnsupportedOperationException("Store operation not supported");
     }