diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/mathml/src/org/apache/fop/mathml/MathMLElement.java | 5 | ||||
-rw-r--r-- | examples/plan/src/org/apache/fop/plan/PlanElement.java | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java index adba83210..5167aa0f4 100644 --- a/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java +++ b/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java @@ -23,8 +23,6 @@ import java.awt.Dimension; import java.awt.geom.Point2D; import org.apache.fop.fo.FONode; -import org.apache.fop.apps.FOPException; - import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -32,6 +30,7 @@ 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; @@ -60,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 FOPException { + Attributes attlist) throws SAXParseException { super.processNode(elementName, locator, attlist); createBasicDocument(); } diff --git a/examples/plan/src/org/apache/fop/plan/PlanElement.java b/examples/plan/src/org/apache/fop/plan/PlanElement.java index 13010eb78..923b7847d 100644 --- a/examples/plan/src/org/apache/fop/plan/PlanElement.java +++ b/examples/plan/src/org/apache/fop/plan/PlanElement.java @@ -21,11 +21,11 @@ package org.apache.fop.plan; import java.awt.geom.Point2D; import org.apache.fop.fo.FONode; -import org.apache.fop.apps.FOPException; import org.w3c.dom.Document; import org.xml.sax.Attributes; import org.xml.sax.Locator; +import org.xml.sax.SAXParseException; /** * This class defines the plan element. @@ -48,7 +48,7 @@ public class PlanElement extends PlanObj { * @see org.apache.fop.fo.FONode#processNode */ public void processNode(String elementName, Locator locator, - Attributes attlist) throws FOPException { + Attributes attlist) throws SAXParseException { super.processNode(elementName, locator, attlist); createBasicDocument(); } |