diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-11-14 12:55:46 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-11-14 12:55:46 +0000 |
commit | 18536029a6533a850dd1508f938b0ad20f1a0e72 (patch) | |
tree | ce799e9527fc49e4bbb527c125920591b545c939 /src/java/org/apache/fop/render/print/PrintRenderer.java | |
parent | f848d591de7458a04b111d243935b08bbd47c5fd (diff) | |
download | xmlgraphics-fop-18536029a6533a850dd1508f938b0ad20f1a0e72.tar.gz xmlgraphics-fop-18536029a6533a850dd1508f938b0ad20f1a0e72.zip |
Updated from Jakarta Commons IO 1.0 to 1.1. CopyUtils.copy() becomes IOUtils.copy() again. CopyUtils in 1.0 was not ideal design decision.
Fixed most of the unappropriate System.err/System.out/Exception.printStackTrace(). Those that aren't fixed and are not legitimate calls (in main() methods etc.) are marked with a TODO item.
Some Javadocs and style updates.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/print/PrintRenderer.java')
-rw-r--r-- | src/java/org/apache/fop/render/print/PrintRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/print/PrintRenderer.java b/src/java/org/apache/fop/render/print/PrintRenderer.java index a9ed51cfd..5faee2dd3 100644 --- a/src/java/org/apache/fop/render/print/PrintRenderer.java +++ b/src/java/org/apache/fop/render/print/PrintRenderer.java @@ -141,7 +141,7 @@ public class PrintRenderer extends Java2DRenderer implements Pageable { try { printerJob.print(); } catch (PrinterException e) { - e.printStackTrace(); + log.error(e); throw new IOException("Unable to print: " + e.getClass().getName() + ": " + e.getMessage()); } |