jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r640880 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
Date Tue, 25 Mar 2008 16:14:53 GMT
Author: thomasm
Date: Tue Mar 25 09:14:51 2008
New Revision: 640880

URL: http://svn.apache.org/viewvc?rev=640880&view=rev
Log:
JCR-1462 repository.xml: throw an exception on error

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java?rev=640880&r1=640879&r2=640880&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
Tue Mar 25 09:14:51 2008
@@ -117,7 +117,9 @@
             while (it.hasNext()) {
                 String key = (String) it.next();
                 if (map.get(key) == null && properties.getProperty(key) != null)
{
-                    log.warn(object.getClass().getName() + " does not support '" + key +
"'; the setting is ignored.");
+                    String msg = object.getClass().getName() + " does not support '" + key;
+                    log.error(msg);
+                    throw new ConfigurationException(msg);
                 }
             }
             return object;



Mime
View raw message