From 41de4c5a95e80e47892680036ca247dcfc3a4d3f Mon Sep 17 00:00:00 2001 From: Joerg Pietschmann Date: Thu, 2 Jan 2003 20:59:07 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/apps/FOPException.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.39.5