pbwest 2002/10/06 07:28:02
Modified: src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design FoRoot.java
Log:
Changed exception handler.
Revision Changes Path
No revision
No revision
1.1.2.7 +5 -5 xml-fop/src/org/apache/fop/fo/Attic/FoRoot.java
Index: FoRoot.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FoRoot.java,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -r1.1.2.6 -r1.1.2.7
--- FoRoot.java 2 Oct 2002 15:14:21 -0000 1.1.2.6
+++ FoRoot.java 6 Oct 2002 14:28:02 -0000 1.1.2.7
@@ -58,7 +58,7 @@
/**
* 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 @@
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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]