aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-08-10 08:18:43 +0000
committerKeiron Liddle <keiron@apache.org>2001-08-10 08:18:43 +0000
commit3f5231272614a381685dbc44bacdb275e63a71de (patch)
tree9915d031217b41124f2b477640545b0257d7cc48
parent0bb07305701a6942f38c9c2eb080fb9348db73d6 (diff)
downloadxmlgraphics-fop-3f5231272614a381685dbc44bacdb275e63a71de.tar.gz
xmlgraphics-fop-3f5231272614a381685dbc44bacdb275e63a71de.zip
improved error message a bit if config couldn't be loaded
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194406 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/org/apache/fop/apps/Options.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/org/apache/fop/apps/Options.java b/src/org/apache/fop/apps/Options.java
index a6e16f31b..133dd0c11 100644
--- a/src/org/apache/fop/apps/Options.java
+++ b/src/org/apache/fop/apps/Options.java
@@ -158,8 +158,9 @@ public class Options {
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);