diff options
author | Karen Lease <klease@apache.org> | 2001-10-14 20:37:10 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2001-10-14 20:37:10 +0000 |
commit | f0d925c5aae1482e715dd3874b2c5fe76df017f5 (patch) | |
tree | 1432f0dac79a0cb70624e3cc2ff7745ce2172ac5 | |
parent | 1739edf2369d41550774185f928aae4290df1dfa (diff) | |
download | xmlgraphics-fop-f0d925c5aae1482e715dd3874b2c5fe76df017f5.tar.gz xmlgraphics-fop-f0d925c5aae1482e715dd3874b2c5fe76df017f5.zip |
Make sure PropertyException messages are logged
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194506 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/org/apache/fop/fo/Property.java | 7 | ||||
-rw-r--r-- | src/org/apache/fop/fo/PropertyListBuilder.java | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/org/apache/fop/fo/Property.java b/src/org/apache/fop/fo/Property.java index 102ab7636..7aa9745ac 100644 --- a/src/org/apache/fop/fo/Property.java +++ b/src/org/apache/fop/fo/Property.java @@ -188,10 +188,9 @@ public class Property { } return pret; } catch (org.apache.fop.fo.expr.PropertyException propEx) { - //MessageHandler.errorln("Error in " + propName - // + " property value '" + value + "': " - // + propEx); - throw new FOPException("Property error"); + throw new FOPException("Error in " + propName + + " property value '" + value + "': " + + propEx); } } diff --git a/src/org/apache/fop/fo/PropertyListBuilder.java b/src/org/apache/fop/fo/PropertyListBuilder.java index 19db4e7fd..f5f11a82d 100644 --- a/src/org/apache/fop/fo/PropertyListBuilder.java +++ b/src/org/apache/fop/fo/PropertyListBuilder.java @@ -166,6 +166,7 @@ public class PropertyListBuilder { p.put(propName, propVal); } } catch (FOPException e) { /* Do other props. */ + MessageHandler.errorln(e.getMessage()); } } else { if (!attributeName.startsWith("xmlns")) |