[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Fri Dec 8 07:04:04 EST 2006
User: msurtani
Date: 06/12/08 07:04:04
Modified: src/org/jboss/cache/interceptors Tag:
Branch_JBossCache_1_4_0
OptimisticValidatorInterceptor.java
Log:
More informative logging/error msgs
Revision Changes Path
No revision
No revision
1.25.2.8 +1 -1 JBossCache/src/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OptimisticValidatorInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java,v
retrieving revision 1.25.2.7
retrieving revision 1.25.2.8
diff -u -b -r1.25.2.7 -r1.25.2.8
--- OptimisticValidatorInterceptor.java 6 Dec 2006 16:00:14 -0000 1.25.2.7
+++ OptimisticValidatorInterceptor.java 8 Dec 2006 12:04:04 -0000 1.25.2.8
@@ -141,7 +141,7 @@
// test that the 2 DataVersion types match up
if (!realNode.getVersion().getClass().equals(workspaceNode.getVersion().getClass()) && checkNotInitialRootVersion(realNode))
{
- throw new DataVersioningException("Attempting to apply data version of type " + workspaceNode.getVersion().getClass() + " to a node that already contains version of type " + realNode.getVersion().getClass());
+ throw new DataVersioningException("Attempting to apply data version of type " + workspaceNode.getVersion().getClass() + " to a node [fqn = "+realNode.getFqn()+"] that already contains version of type " + realNode.getVersion().getClass());
}
if ((workspaceNode.isDeleted() || workspaceNode.isDirty()) && realNode.getVersion().newerThan( workspaceNode.getVersion() ))
{
More information about the jboss-cvs-commits
mailing list