From b0e76bca6ec366023f5f98d8e07aa77dbfabafe1 Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Thu, 28 Oct 2004 10:00:25 +0000 Subject: New exception hierarchy rooted in SAXException and throw clauses on property parsing and retrieval. PR: 31899 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198106 13f79535-47bb-0310-9956-ffa450edef68 --- examples/mathml/src/org/apache/fop/mathml/MathMLElement.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/mathml') diff --git a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java index 5167aa0f4..025ed6020 100644 --- a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java +++ b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java @@ -22,6 +22,7 @@ import java.awt.Color; import java.awt.Dimension; import java.awt.geom.Point2D; +import org.apache.fop.apps.FOPException; import org.apache.fop.fo.FONode; import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; @@ -30,7 +31,6 @@ import org.w3c.dom.Node; import org.xml.sax.Attributes; import org.xml.sax.Locator; -import org.xml.sax.SAXParseException; import org.apache.batik.svggen.SVGGraphics2D; import org.apache.batik.dom.svg.SVGDOMImplementation; @@ -59,7 +59,7 @@ public class MathMLElement extends MathMLObj { * @see org.apache.fop.fo.FONode#processNode */ public void processNode(String elementName, Locator locator, - Attributes attlist) throws SAXParseException { + Attributes attlist) throws FOPException { super.processNode(elementName, locator, attlist); createBasicDocument(); } -- cgit v1.2.3