You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2001/09/08 06:46:13 UTC

cvs commit: xml-cocoon2/src/org/apache/cocoon/components/source SitemapSource.java URLSource.java

vgritsenko    01/09/07 21:46:13

  Modified:    src/org/apache/cocoon/components/source SitemapSource.java
                        URLSource.java
  Log:
  exception handling in XMLizable and sources
  
  Revision  Changes    Path
  1.22      +3 -2      xml-cocoon2/src/org/apache/cocoon/components/source/SitemapSource.java
  
  Index: SitemapSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/source/SitemapSource.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- SitemapSource.java	2001/09/08 04:31:10	1.21
  +++ SitemapSource.java	2001/09/08 04:46:13	1.22
  @@ -48,7 +48,7 @@
    * Description of a source which is defined by a pipeline.
    *
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.21 $ $Date: 2001/09/08 04:31:10 $
  + * @version CVS $Revision: 1.22 $ $Date: 2001/09/08 04:46:13 $
    */
   
   public final class SitemapSource
  @@ -279,7 +279,8 @@
        * Stream content to the content handler
        */
       public void toSAX(ContentHandler contentHandler)
  -    throws SAXException, ProcessingException {
  +        throws SAXException, ProcessingException
  +    {
           if (this.needsRefresh) {
               this.refresh();
           }
  
  
  
  1.14      +7 -2      xml-cocoon2/src/org/apache/cocoon/components/source/URLSource.java
  
  Index: URLSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/source/URLSource.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- URLSource.java	2001/09/08 04:31:10	1.13
  +++ URLSource.java	2001/09/08 04:46:13	1.14
  @@ -33,7 +33,7 @@
    * Description of a source which is described by an URL.
    *
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.13 $ $Date: 2001/09/08 04:31:10 $
  + * @version CVS $Revision: 1.14 $ $Date: 2001/09/08 04:46:13 $
    */
   
   public final class URLSource implements ModifiableSource {
  @@ -308,7 +308,12 @@
        }
   
       /**
  -     * Stream content to a content handler or to an XMLConsumer
  +     * Stream content to a content handler or to an XMLConsumer.
  +     *
  +     * @throws ResourceNotFoundException if file not found or 
  +     *         HTTP location does not exist.
  +     * @throws IOException if I/O error occured.
  +     * @throws SAXException if failed to parse source document.
        */
       public void toSAX(ContentHandler handler)
           throws SAXException, ProcessingException
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org