You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2001/08/10 10:18:43 UTC
cvs commit: xml-fop/src/org/apache/fop/apps Options.java
keiron 01/08/10 01:18:43
Modified: src/org/apache/fop/apps Options.java
Log:
improved error message a bit if config couldn't be loaded
Revision Changes Path
1.9 +4 -3 xml-fop/src/org/apache/fop/apps/Options.java
Index: Options.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/Options.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Options.java 2001/07/30 20:29:18 1.8
+++ Options.java 2001/08/10 08:18:43 1.9
@@ -1,5 +1,5 @@
/*
- * $Id: Options.java,v 1.8 2001/07/30 20:29:18 tore Exp $
+ * $Id: Options.java,v 1.9 2001/08/10 08:18:43 keiron 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.
@@ -158,8 +158,9 @@
try {
reader.start();
} catch (org.apache.fop.apps.FOPException error) {
- MessageHandler.errorln("Can't find user configuration file "
- + userConfigFile);
+ MessageHandler.errorln("Could not load user configuration file "
+ + userConfigFile + " - error: "
+ + error.getMessage());
MessageHandler.errorln("using default values");
if (errorDump) {
reader.dumpError(error);
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org