]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Changed exception handler.
authorPeter Bernard West <pbwest@apache.org>
Sun, 6 Oct 2002 14:28:02 +0000 (14:28 +0000)
committerPeter Bernard West <pbwest@apache.org>
Sun, 6 Oct 2002 14:28:02 +0000 (14:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195301 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/FoRoot.java

index ff13283ec9469a701b0e185788e9980937973fd8..b6e09ca4c94b7d4c3b02d3a3d2c4fdcb1ab3714f 100644 (file)
@@ -58,7 +58,7 @@ public class FoRoot extends FONode {
     /**
      * Process the FO tree, starting with this fo:root element.
      * N.B. the FO tree is a collection of trees.
-     * Trees only occur with fo:flow and fo:static-content.  These will
+     * Layout trees only occur with fo:flow and fo:static-content.  These will
      * be built at the appropriate places as part of the FO tree processing.
      * Terminates at the completion of FO tree processing.
      * <p>
@@ -87,7 +87,7 @@ public class FoRoot extends FONode {
             ev = xmlevents.expectStartElement
                     (XMLNamespaces.XSLNSpaceIndex, "layout-master-set");
         } catch (NoSuchElementException e) {
-            throw new FOPException(e.getMessage());
+            throw new FOPException(e);
         }
         // Process the layout-master-set
         try {