cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/source AbstractStreamSource.java
Date Sat, 21 Sep 2002 02:21:37 GMT
vgritsenko    2002/09/20 19:21:37

  Modified:    src/java/org/apache/cocoon/components/source Tag:
                        cocoon_2_0_3_branch AbstractStreamSource.java
  Log:
  Fix exception handling in abstract source. Don't wrap processing exception!
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +4 -1      xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractStreamSource.java
  
  Index: AbstractStreamSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractStreamSource.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- AbstractStreamSource.java	7 Jun 2002 09:34:23 -0000	1.2.2.1
  +++ AbstractStreamSource.java	21 Sep 2002 02:21:37 -0000	1.2.2.2
  @@ -207,6 +207,9 @@
           } catch (SAXException e) {
               // Preserve original exception
               throw e;
  +        } catch (ProcessingException e){
  +            // Preserve original exception
  +            throw e;
           } catch (Exception e){
               throw new ProcessingException("Exception during processing of "
                                             + this.getSystemId(), 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


Mime
View raw message