diff options
Diffstat (limited to 'src/org/apache/fop/apps/Fop.java')
-rw-r--r-- | src/org/apache/fop/apps/Fop.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/apps/Fop.java b/src/org/apache/fop/apps/Fop.java index 4dc42dcfb..7b170a7e2 100644 --- a/src/org/apache/fop/apps/Fop.java +++ b/src/org/apache/fop/apps/Fop.java @@ -17,8 +17,8 @@ public class Fop { Starter starter = options.getStarter(); starter.run(); } catch (FOPException e) { - if("null".equals(e.getMessage())) { - System.err.println("NullPointerException"); + if("null".equals("" + e.getMessage())) { + System.err.println("Exception occured with a null error message"); } else { System.err.println("" + e.getMessage()); } |