From: Jordan Naftolin Date: Wed, 21 Jun 2000 01:44:35 +0000 (+0000) Subject: Added ability for render() to throw FOPException X-Git-Tag: pre-columns~457 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cebae7e8fba7ddb27b32a475ee70c1b085d0abc9;p=xmlgraphics-fop.git Added ability for render() to throw FOPException git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193420 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/render/Renderer.java b/src/org/apache/fop/render/Renderer.java index 0f1ab587a..c0bdcbced 100644 --- a/src/org/apache/fop/render/Renderer.java +++ b/src/org/apache/fop/render/Renderer.java @@ -53,6 +53,7 @@ package org.apache.fop.render; // FOP import org.apache.fop.svg.SVGArea; import org.apache.fop.image.ImageArea; +import org.apache.fop.apps.FOPException; import org.apache.fop.layout.*; // Java @@ -74,7 +75,7 @@ public interface Renderer { public void setProducer(String producer); /** render the given area tree to the given writer */ - public void render(AreaTree areaTree, PrintWriter writer) throws IOException; + public void render(AreaTree areaTree, PrintWriter writer) throws IOException, FOPException; /** render the given area container */ public void renderAreaContainer(AreaContainer area);