kstaken 02/02/22 14:51:14
Modified: java/src/org/apache/xindice/xml/sax SAXEventGenerator.java
Log:
Allowing proegation of exceptions from SAXEventGenerator.start
Submitted by: Mike Gratton
Reviewed by: Kimbro Staken
Revision Changes Path
1.4 +5 -4
xml-xindice/java/src/org/apache/xindice/xml/sax/SAXEventGenerator.java
Index: SAXEventGenerator.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/src/org/apache/xindice/xml/sax/SAXEventGenerator.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SAXEventGenerator.java 6 Jan 2002 18:10:17 -0000 1.3
+++ SAXEventGenerator.java 22 Feb 2002 22:51:14 -0000 1.4
@@ -56,7 +56,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
- * $Id: SAXEventGenerator.java,v 1.3 2002/01/06 18:10:17 bradford Exp $
+ * $Id: SAXEventGenerator.java,v 1.4 2002/02/22 22:51:14 kstaken Exp $
*/
import org.apache.xindice.xml.*;
@@ -302,7 +302,7 @@
return !interrupt;
}
- public boolean processDocument() throws IOException, SAXException {
+ public boolean start() throws IOException, SAXException {
if ( comp != null ) {
comp.symbols(symbols);
comp.dataBytes(data);
@@ -314,15 +314,16 @@
return result;
}
- public boolean start() {
+ /*public boolean start() {
try {
return processDocument();
}
catch ( Exception e ) {
org.apache.xindice.Debug.printStackTrace(e);
+ throw(e);
return false;
}
- }
+ }*/
public void stop() {
interrupt = true;