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 [EMAIL PROTECTED] Document} to store. * @throws UnsupportedOperationException if this [EMAIL PROTECTED] Repository} is immutable. * @throws IOException if an I/O error occurred retrieving the [EMAIL PROTECTED] 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"); }