diff options
author | Glen Mazza <gmazza@apache.org> | 2004-08-01 04:20:50 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-08-01 04:20:50 +0000 |
commit | aa569d642f3814a7e1242ade45cac003761914e6 (patch) | |
tree | e4a744514b1fd1bfd084c1cb0e36381c87dd447a /src/java/org/apache/fop/fo/flow/BlockContainer.java | |
parent | 07e8b67a4aedd53a69895a82f328b472c9a05a6e (diff) | |
download | xmlgraphics-fop-aa569d642f3814a7e1242ade45cac003761914e6.tar.gz xmlgraphics-fop-aa569d642f3814a7e1242ade45cac003761914e6.zip |
1.) Moved from FOPException to SAXParseException for addProperties()
2.) FONode: locator object added, its three components (file, line, col) removed
3.) FONode: new attributeError() method created for attribute problems in input FO.
4.) Removed some setup() methods in the FO's, placed them in addProperties() instead.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197847 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/BlockContainer.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/BlockContainer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/flow/BlockContainer.java b/src/java/org/apache/fop/fo/flow/BlockContainer.java index 51bef9036..29adbbe7e 100644 --- a/src/java/org/apache/fop/fo/flow/BlockContainer.java +++ b/src/java/org/apache/fop/fo/flow/BlockContainer.java @@ -19,7 +19,6 @@ package org.apache.fop.fo.flow; // FOP -import org.apache.fop.apps.FOPException; import org.apache.fop.datatypes.ColorType; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; @@ -30,6 +29,7 @@ import org.apache.fop.fo.properties.CommonBorderAndPadding; import org.apache.fop.fo.properties.CommonMarginBlock; import org.xml.sax.Attributes; +import org.xml.sax.SAXParseException; /** * Class modelling the fo:block-container object. See Sec. 6.5.3 of the XSL-FO @@ -59,7 +59,7 @@ public class BlockContainer extends FObj { /** * @see org.apache.fop.fo.FObj#addProperties */ - protected void addProperties(Attributes attlist) throws FOPException { + protected void addProperties(Attributes attlist) throws SAXParseException { super.addProperties(attlist); this.span = this.propertyList.get(PR_SPAN).getEnum(); setupID(); |