From edd7d1715e1aa93e44ebe95fd0669697cbc05d08 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Thu, 28 Feb 2008 21:33:11 +0000 Subject: [PATCH] Minor tweak: switch from toString() to getLocalizedMessage() for Exceptions passed into warning() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632122 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/cli/InputHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/cli/InputHandler.java b/src/java/org/apache/fop/cli/InputHandler.java index 68af6ae51..f565a7a93 100644 --- a/src/java/org/apache/fop/cli/InputHandler.java +++ b/src/java/org/apache/fop/cli/InputHandler.java @@ -221,7 +221,7 @@ public class InputHandler implements ErrorListener, Renderable { * {@inheritDoc} */ public void warning(TransformerException exc) { - log.warn(exc.toString()); + log.warn(exc.getLocalizedMessage()); } /** -- 2.39.5