From: Keiron Liddle Date: Fri, 10 Aug 2001 08:18:43 +0000 (+0000) Subject: improved error message a bit if config couldn't be loaded X-Git-Tag: fop-0_20_0~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3f5231272614a381685dbc44bacdb275e63a71de;p=xmlgraphics-fop.git 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 --- 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);