klease 01/10/14 13:37:10 Modified: src/org/apache/fop/fo Property.java PropertyListBuilder.java Log: Make sure PropertyException messages are logged Revision Changes Path 1.18 +4 -5 xml-fop/src/org/apache/fop/fo/Property.java Index: Property.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Property.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Property.java 2001/09/11 10:04:24 1.17 +++ Property.java 2001/10/14 20:37:10 1.18 @@ -1,5 +1,5 @@ /* - * $Id: Property.java,v 1.17 2001/09/11 10:04:24 keiron Exp $ + * $Id: Property.java,v 1.18 2001/10/14 20:37:10 klease Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -188,10 +188,9 @@ } 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); } } 1.33 +2 -1 xml-fop/src/org/apache/fop/fo/PropertyListBuilder.java Index: PropertyListBuilder.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/PropertyListBuilder.java,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- PropertyListBuilder.java 2001/09/24 09:17:12 1.32 +++ PropertyListBuilder.java 2001/10/14 20:37:10 1.33 @@ -1,5 +1,5 @@ /* - * $Id: PropertyListBuilder.java,v 1.32 2001/09/24 09:17:12 keiron Exp $ + * $Id: PropertyListBuilder.java,v 1.33 2001/10/14 20:37:10 klease Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -166,6 +166,7 @@ p.put(propName, propVal); } } catch (FOPException e) { /* Do other props. */ + MessageHandler.errorln(e.getMessage()); } } else { if (!attributeName.startsWith("xmlns"))
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]