]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Make sure PropertyException messages are logged
authorKaren Lease <klease@apache.org>
Sun, 14 Oct 2001 20:37:10 +0000 (20:37 +0000)
committerKaren Lease <klease@apache.org>
Sun, 14 Oct 2001 20:37:10 +0000 (20:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194506 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/Property.java
src/org/apache/fop/fo/PropertyListBuilder.java

index 102ab76363d19f1f5893e86c479dc3876c91655e..7aa9745ac5158e6999327afa504d8a15a843c116 100644 (file)
@@ -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);
             }
         }
 
index 19db4e7fd10c0f09dd5243728af0f0228ef0614b..f5f11a82d7e34f69c2ac36ca39ac8274863d0d4e 100644 (file)
@@ -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"))