jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r783761 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Date Thu, 11 Jun 2009 13:23:27 GMT
Author: stefan
Date: Thu Jun 11 13:23:27 2009
New Revision: 783761

URL: http://svn.apache.org/viewvc?rev=783761&view=rev
Log:
JCR-2139 ...

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java?rev=783761&r1=783760&r2=783761&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
Thu Jun 11 13:23:27 2009
@@ -776,7 +776,7 @@
                             qconstraints[j] = ValueConstraint.create(type, constraints[j],
session);
                         } catch (InvalidConstraintException e) {
                             throw new InvalidNodeTypeDefinitionException(
-                                    "Invalid value constraint " + constraints[i], e);
+                                    "Invalid value constraint: " + constraints[j], e);
                         }
                     }
                     qpdef.setValueConstraints(qconstraints);
@@ -790,7 +790,7 @@
                             qvalues[j] = InternalValue.create(values[j], session);
                         } catch (ValueFormatException e) {
                             throw new InvalidNodeTypeDefinitionException(
-                                    "Invalid default value format", e);
+                                    "Invalid default value format: " + values[j], e);
                         }
                     }
                     qpdef.setDefaultValues(qvalues);



Mime
View raw message