You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2001/10/26 10:40:05 UTC

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

cziegeler    01/10/26 01:40:05

  Modified:    src/org/apache/cocoon/components/source URLSource.java
  Log:
  Preserve SAXException
  
  Revision  Changes    Path
  1.18      +4 -1      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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- URLSource.java	2001/10/10 20:53:56	1.17
  +++ URLSource.java	2001/10/26 08:40:05	1.18
  @@ -32,7 +32,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.17 $ $Date: 2001/10/10 20:53:56 $
  + * @version CVS $Revision: 1.18 $ $Date: 2001/10/26 08:40:05 $
    */
   
   public class URLSource implements ModifiableSource {
  @@ -330,6 +330,9 @@
               }
               parser.parse(this.getInputSource());
           } catch (ProcessingException e){
  +            // Preserve original exception
  +            throw e;
  +        } catch (SAXException e) {
               // Preserve original exception
               throw e;
           } catch (Exception e){
  
  
  

----------------------------------------------------------------------
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