You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/06/04 15:50:28 UTC

cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref CoroutineSAXParser_Xerces.java

sboag       01/06/04 06:50:28

  Modified:    java/src/org/apache/xml/dtm/ref Tag: DTM_EXP
                        CoroutineSAXParser_Xerces.java
  Log:
  Throw those exceptions, don't System.out them.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +3 -2      xml-xalan/java/src/org/apache/xml/dtm/ref/Attic/CoroutineSAXParser_Xerces.java
  
  Index: CoroutineSAXParser_Xerces.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/Attic/CoroutineSAXParser_Xerces.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- CoroutineSAXParser_Xerces.java	2001/05/23 02:56:47	1.1.2.1
  +++ CoroutineSAXParser_Xerces.java	2001/06/04 13:50:27	1.1.2.2
  @@ -322,8 +322,9 @@
             System.out.println("\nUNEXPECTED: Parser says shut down prematurely.\n");
           }
           else if (result instanceof Exception) {
  -          System.out.println("\nParser threw exception:");
  -          ((Exception)result).printStackTrace();
  +          throw new org.apache.xml.utils.WrappedRuntimeException((Exception)result);
  +//          System.out.println("\nParser threw exception:");
  +//          ((Exception)result).printStackTrace();
           }
           
         }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org