From: Adrian Cumiskey Date: Mon, 21 Jul 2008 13:03:34 +0000 (+0000) Subject: Provide exception message if problems occurred closing/deleting temporary cache file. X-Git-Tag: fop-1_0~376^2~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=34ebad8ecf65b001b419e2c5079eb416f2cb188b;p=xmlgraphics-fop.git Provide exception message if problems occurred closing/deleting temporary cache file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@678407 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/afp/DataObjectCache.java b/src/java/org/apache/fop/render/afp/DataObjectCache.java index 891e85fa7..a3314a4a2 100644 --- a/src/java/org/apache/fop/render/afp/DataObjectCache.java +++ b/src/java/org/apache/fop/render/afp/DataObjectCache.java @@ -113,7 +113,7 @@ public final class DataObjectCache { raFile.close(); tempFile.delete(); } catch (IOException e) { - log.error("Failed to close temporary file"); + log.error("Failed to close temporary file: " + e.getMessage()); } finally { synchronized (cacheMap) { cacheMap.remove(id); // remove ourselves from the cache map