diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-28 10:00:25 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-28 10:00:25 +0000 |
commit | b0e76bca6ec366023f5f98d8e07aa77dbfabafe1 (patch) | |
tree | ffd62fd750c33c6083daad85feb38a5dbd709de8 /examples/mathml | |
parent | 13fdba00ab86701f8e0b4057ecc5bc36375c8ee0 (diff) | |
download | xmlgraphics-fop-b0e76bca6ec366023f5f98d8e07aa77dbfabafe1.tar.gz xmlgraphics-fop-b0e76bca6ec366023f5f98d8e07aa77dbfabafe1.zip |
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
Diffstat (limited to 'examples/mathml')
-rw-r--r-- | examples/mathml/src/org/apache/fop/mathml/MathMLElement.java | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |