cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/reading ResourceReader.java
Date Mon, 03 Jun 2002 12:50:19 GMT
cziegeler    2002/06/03 05:50:19

  Modified:    src/java/org/apache/cocoon/reading ResourceReader.java
  Log:
  The ResourceReader now correctly propagates exceptions to the processing pipeline
  PR:9538
  
  Revision  Changes    Path
  1.11      +2 -4      xml-cocoon2/src/java/org/apache/cocoon/reading/ResourceReader.java
  
  Index: ResourceReader.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/reading/ResourceReader.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ResourceReader.java	28 May 2002 13:08:12 -0000	1.10
  +++ ResourceReader.java	3 Jun 2002 12:50:18 -0000	1.11
  @@ -88,7 +88,7 @@
    *   </dl>
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  - * @version CVS $Id: ResourceReader.java,v 1.10 2002/05/28 13:08:12 cziegeler Exp $
  + * @version CVS $Id: ResourceReader.java,v 1.11 2002/06/03 12:50:18 cziegeler Exp $
    */
   public class ResourceReader
     extends AbstractReader
  @@ -186,10 +186,8 @@
               inputStream.close();
               inputStream = null;
               out.flush();
  -        } catch (IOException ioe) {
  -            getLogger().error("Received an IOException, assuming client severed connection
on purpose", ioe);
           } catch (SourceException se) {
  -            getLogger().error("Received an SourceException, assuming client severed connection
on purpose", se);
  +            throw new ProcessingException("Exception during resolving of read source.",
se);
           }
       }
   
  
  
  

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


Mime
View raw message