diff options
author | Nick Burch <nick@apache.org> | 2007-09-19 14:40:44 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2007-09-19 14:40:44 +0000 |
commit | f4d92df6b320add9363f229b4c2a65a5dfc6cdfd (patch) | |
tree | 114c9eeabbda14c0cf3cdadfe146d5b1469fd8af /src/java/org/apache/poi/POIDocument.java | |
parent | 63211783d6ac9cee15e01822e6a1adde99bfeffc (diff) | |
download | poi-f4d92df6b320add9363f229b4c2a65a5dfc6cdfd.tar.gz poi-f4d92df6b320add9363f229b4c2a65a5dfc6cdfd.zip |
Update POIDocument to use POILogger
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577317 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/POIDocument.java')
-rw-r--r-- | src/java/org/apache/poi/POIDocument.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/poi/POIDocument.java b/src/java/org/apache/poi/POIDocument.java index bc3b78dd21..ece7a3f13d 100644 --- a/src/java/org/apache/poi/POIDocument.java +++ b/src/java/org/apache/poi/POIDocument.java @@ -88,7 +88,7 @@ public abstract class POIDocument { dis = filesystem.createDocumentInputStream(setName); } catch(IOException ie) { // Oh well, doesn't exist - System.err.println("Error getting property set with name " + setName + "\n" + ie); + logger.log(POILogger.WARN, "Error getting property set with name " + setName + "\n" + ie); return null; } @@ -98,10 +98,10 @@ public abstract class POIDocument { return set; } catch(IOException ie) { // Must be corrupt or something like that - System.err.println("Error creating property set with name " + setName + "\n" + ie); + logger.log(POILogger.WARN, "Error creating property set with name " + setName + "\n" + ie); } catch(org.apache.poi.hpsf.HPSFException he) { // Oh well, doesn't exist - System.err.println("Error creating property set with name " + setName + "\n" + he); + logger.log(POILogger.WARN, "Error creating property set with name " + setName + "\n" + he); } return null; } |