jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r546313 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/DateValue.java
Date Mon, 11 Jun 2007 23:01:39 GMT
Author: jukka
Date: Mon Jun 11 16:01:38 2007
New Revision: 546313

URL: http://svn.apache.org/viewvc?view=rev&rev=546313
Log:
JCR-969: Applied a patch from Daniel Naber to improve the date format error message.

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/DateValue.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/DateValue.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/DateValue.java?view=diff&rev=546313&r1=546312&r2=546313
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/DateValue.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/DateValue.java
Mon Jun 11 16:01:38 2007
@@ -62,7 +62,7 @@
         if (cal != null) {
             return new DateValue(cal);
         } else {
-            throw new ValueFormatException("not a valid date format");
+            throw new ValueFormatException("not a valid date format: " + s);
         }
     }
 



Mime
View raw message