Author: ogrisel
Date: Wed Sep 21 14:53:36 2011
New Revision: 1173691
URL: http://svn.apache.org/viewvc?rev=1173691&view=rev
Log:
cosmit
Modified:
incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/source/ResourceLoader.java
Modified:
incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/source/ResourceLoader.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/source/ResourceLoader.java?rev=1173691&r1=1173690&r2=1173691&view=diff
==============================================================================
---
incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/source/ResourceLoader.java
(original)
+++
incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/source/ResourceLoader.java
Wed Sep 21 14:53:36 2011
@@ -203,13 +203,13 @@ public class ResourceLoader {
//during init it is checked that files exists and are files
//and there is read access so this can only happen if
//someone deletes the file in between
- log.error("Unable to load resource "+file+"!",e);
+ log.warn("Unable to load resource " + file, e);
setResourceState(file, ResourceState.ERROR, e);
} catch (IOException e) {
- log.error("Unable to load resource "+file+"!",e);
+ log.error("Unable to load resource " + file ,e);
setResourceState(file, ResourceState.ERROR, e);
} catch (Exception e) {
- log.error("Unable to load resource "+file+"!",e);
+ log.error("Unable to load resource " + file, e);
setResourceState(file, ResourceState.ERROR, e);
}
}