cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/source/impl SitemapSource.java
Date Wed, 04 Feb 2004 15:10:47 GMT
sylvain     2004/02/04 07:10:47

  Modified:    src/java/org/apache/cocoon/components/source/impl
                        SitemapSource.java
  Log:
  Don't hide nested exceptions
  
  Revision  Changes    Path
  1.16      +2 -2      cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java
  
  Index: SitemapSource.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SitemapSource.java	10 Dec 2003 15:55:08 -0000	1.15
  +++ SitemapSource.java	4 Feb 2004 15:10:47 -0000	1.16
  @@ -291,7 +291,7 @@
           }
           // VG: Why exception is not thrown in constructor?
           if (this.exception != null) {
  -            throw new IOException("SAXException: " + this.exception);
  +            throw new SourceException("Cannot get input stream for " + getURI(), this.exception);
           }
   
           if (this.redirectSource != null) {
  
  
  

Mime
View raw message