diff options
author | Chris Bowditch <cbowditch@apache.org> | 2005-09-16 08:19:44 +0000 |
---|---|---|
committer | Chris Bowditch <cbowditch@apache.org> | 2005-09-16 08:19:44 +0000 |
commit | d045c95550882cf20478f79dae253722d39fba90 (patch) | |
tree | d6ece200fca6248a6a2322a7dfdd67fa8ae46516 /src/java/org/apache/fop/fo | |
parent | f91c97e34d6bae1dc15795d7fac614fc85b300cd (diff) | |
download | xmlgraphics-fop-d045c95550882cf20478f79dae253722d39fba90.tar.gz xmlgraphics-fop-d045c95550882cf20478f79dae253722d39fba90.zip |
bugzilla 36678 - region name reported when region is found with non zero borders/padding.
patch submitted by Matthew Daniel <bugzilla.at.mdaniel.scdi.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/Region.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Region.java b/src/java/org/apache/fop/fo/pagination/Region.java index 756b2be03..e0054285a 100644 --- a/src/java/org/apache/fop/fo/pagination/Region.java +++ b/src/java/org/apache/fop/fo/pagination/Region.java @@ -83,8 +83,8 @@ public abstract class Region extends FObj { if (getCommonBorderPaddingBackground().getBPPaddingAndBorder(false, null) != 0 //TODO do we need context here? || getCommonBorderPaddingBackground().getIPPaddingAndBorder(false, null) != 0) { //TODO do we need context here? - throw new PropertyException("Border and padding for a region " - + "must be '0' (See 6.4.13 in XSL 1.0)."); + throw new PropertyException("Border and padding for region \"" + +regionName+ "\" must be '0' (See 6.4.13 in XSL 1.0)."); } } |