From: Joerg Pietschmann Date: Thu, 2 Jan 2003 20:59:07 +0000 (+0000) Subject: Fixed printing Execption delimiters to wrong stream. X-Git-Tag: Alt-Design-integration-base~203 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=41de4c5a95e80e47892680036ca247dcfc3a4d3f;p=xmlgraphics-fop.git Fixed printing Execption delimiters to wrong stream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195813 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/apps/FOPException.java b/src/org/apache/fop/apps/FOPException.java index f6391ce6c..1e1e9e8a4 100644 --- a/src/org/apache/fop/apps/FOPException.java +++ b/src/org/apache/fop/apps/FOPException.java @@ -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); } }