You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/04/27 16:48:32 UTC
cvs commit: cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/xml/dom SVGBuilder.java
cziegeler 2003/04/27 07:48:32
Modified: src/blocks/batik/java/org/apache/cocoon/xml/dom
SVGBuilder.java
Log:
Removing printStackTrace - bug 19215
Revision Changes Path
1.2 +7 -3 cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/xml/dom/SVGBuilder.java
Index: SVGBuilder.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/batik/java/org/apache/cocoon/xml/dom/SVGBuilder.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SVGBuilder.java 9 Mar 2003 00:02:40 -0000 1.1
+++ SVGBuilder.java 27 Apr 2003 14:48:32 -0000 1.2
@@ -115,9 +115,11 @@
// this is a fix only ties svg to svg namespace uri
// it is not as general as tieing any prefix to svg namespace uri
namespaces.put("svg", SVGDOMImplementation.SVG_NAMESPACE_URI);
+ } catch (SAXException se) {
+ log.error("SVGBuilder: startDocument", se);
+ throw se;
} catch (Exception ex){
log.error("SVGBuilder: startDocument", ex);
- ex.printStackTrace();
throw new SAXException("SVGBuilder: startDocument", ex);
}
}
@@ -136,9 +138,11 @@
((org.apache.batik.dom.svg.SVGOMDocument)this.document).setURLObject(new java.net.URL("http://xml.apache.org"));
this.notify(this.document);
+ } catch (SAXException se) {
+ log.error("SVGBuilder: endDocument", se);
+ throw se;
} catch (Exception ex){
log.error("SVGBuilder: endDocument", ex);
- ex.printStackTrace();
throw new SAXException("SVGBuilder: endDocument", ex);
}
}