]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed printing Execption delimiters to wrong stream.
authorJoerg Pietschmann <pietsch@apache.org>
Thu, 2 Jan 2003 20:59:07 +0000 (20:59 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Thu, 2 Jan 2003 20:59:07 +0000 (20:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195813 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/apps/FOPException.java

index f6391ce6cc2290724b8d43ad4e4e0487b91389af..1e1e9e8a4fca7162b2653b9e12c9cdc33208566f 100644 (file)
@@ -85,7 +85,7 @@ public class FOPException extends Exception {
                 _exception.printStackTrace(stream);
             }
             if (getRootException() != null) {
-                System.err.println(EXCEPTION_SEPARATOR);
+                stream.println(EXCEPTION_SEPARATOR);
                 getRootException().printStackTrace(stream);
             }
         }
@@ -99,7 +99,7 @@ public class FOPException extends Exception {
                 _exception.printStackTrace(writer);
             }
             if (getRootException() != null) {
-                System.err.println(EXCEPTION_SEPARATOR);
+                writer.println(EXCEPTION_SEPARATOR);
                 getRootException().printStackTrace(writer);
             }
         }