jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r953282 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockInfo.java
Date Thu, 10 Jun 2010 11:32:49 GMT
Author: ckoell
Date: Thu Jun 10 11:32:49 2010
New Revision: 953282

URL: http://svn.apache.org/viewvc?rev=953282&view=rev
Log:
Minor Change on ExceptionMessage. Only for better bug search

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockInfo.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockInfo.java?rev=953282&r1=953281&r2=953282&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockInfo.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockInfo.java
Thu Jun 10 11:32:49 2010
@@ -308,11 +308,11 @@ public abstract class LockInfo {
             throws IllegalArgumentException {
         int sep = token.lastIndexOf('-');
         if (sep == -1 || sep == token.length() - 1) {
-            throw new IllegalArgumentException("Separator not found.");
+            throw new IllegalArgumentException("Separator not found. Token [" + token + "]");
         }
         String uuid = token.substring(0, sep);
         if (getLockTokenCheckDigit(uuid) != token.charAt(token.length() - 1)) {
-            throw new IllegalArgumentException("Bad check digit.");
+            throw new IllegalArgumentException("Bad check digit. Token [" + token + "]");
         }
         return NodeId.valueOf(uuid);
     }



Mime
View raw message