You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/04/06 13:04:22 UTC

[Bug 1243] New - Error in org\apache\fop\apps\Options.java

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1243

*** shadow/1243	Fri Apr  6 04:04:22 2001
--- shadow/1243.tmp.18502	Fri Apr  6 04:04:22 2001
***************
*** 0 ****
--- 1,30 ----
+ +============================================================================+
+ | Error in org\apache\fop\apps\Options.java                                  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1243                        Product: Fop                     |
+ |       Status: NEW                         Version: 0.17                    |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version:                         |
+ |     Priority:                           Component: general                 |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: fop-dev@xml.apache.org                                       |
+ |  Reported By: marc.jenzer@j-solution.ch                                    |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ In Method "loadUserconfiguration" you catch the 
+ Exception "org.apache.fop.apps.FOPException" 
+ 
+ Always you print out the same Error "Can't find user configuration file". This 
+ is wrong. If I have an error in the user config file (i.e. the tag is not 
+ closed) you write out "Can't find user configuration file". 
+ 
+ I think the better way is:
+ 
+ try {
+    reader.start();
+ } catch (org.apache.fop.apps.FOPException error) {
+    MessageHandler.errorln(error);
+    ...

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org