diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Region.java')
-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)."); } } |