aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Pietschmann <pietsch@apache.org>2003-01-02 20:59:07 +0000
committerJoerg Pietschmann <pietsch@apache.org>2003-01-02 20:59:07 +0000
commit41de4c5a95e80e47892680036ca247dcfc3a4d3f (patch)
treec0d3744586cdd74fffa1f2df87195a73b3874fc5
parentcb162564dd6bdf58baceb1f4e26314ee31788b8b (diff)
downloadxmlgraphics-fop-41de4c5a95e80e47892680036ca247dcfc3a4d3f.tar.gz
xmlgraphics-fop-41de4c5a95e80e47892680036ca247dcfc3a4d3f.zip
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
-rw-r--r--src/org/apache/fop/apps/FOPException.java4
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);
}
}