From 32521d94ac717c6f07f4d45607d1d049c839c42c Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 13 Dec 2005 19:48:04 +0000 Subject: New method: FONode.decorateWithContextInfo() adds context information to an error or log message by either providing the locator information or by gathering context information from the context FOs. Improved log and error messages in a number of places by adding additional context information that should make it easier to find the location in the source files. Added a check to detect inline overflows (LineLayoutManager). Added a check to detect in-page overflows (PageBreakingAlgorithm). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356592 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/rtf/RTFHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/java/org/apache/fop/render/rtf') diff --git a/src/java/org/apache/fop/render/rtf/RTFHandler.java b/src/java/org/apache/fop/render/rtf/RTFHandler.java index 7552d8e7d..d317ffe50 100644 --- a/src/java/org/apache/fop/render/rtf/RTFHandler.java +++ b/src/java/org/apache/fop/render/rtf/RTFHandler.java @@ -947,7 +947,8 @@ public class RTFHandler extends FOEventHandler { rawData = fopimage.getRessourceBytes(); } if (rawData == null) { - log.warn("Image could not be embedded: " + url); + log.warn(FONode.decorateWithContextInfo( + "Image could not be embedded: " + url, eg)); return; } -- cgit v1.2.3