diff options
-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")) |