diff options
-rw-r--r-- | src/org/apache/fop/apps/FOPException.java | 4 |
1 files 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); } } |