]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added ability for render() to throw FOPException
authorJordan Naftolin <jordan@apache.org>
Wed, 21 Jun 2000 01:44:35 +0000 (01:44 +0000)
committerJordan Naftolin <jordan@apache.org>
Wed, 21 Jun 2000 01:44:35 +0000 (01:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193420 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/render/Renderer.java

index 0f1ab587a9272652d14eab95ecb33fa8ffbe3ae6..c0bdcbced2698d4680c8b9d231650eef56c6f1f7 100644 (file)
@@ -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);