[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
manik at jboss.org
Tue Mar 20 09:26:10 EDT 2007
User: msurtani
Date: 07/03/20 09:26:10
Modified: src/org/jboss/cache CacheImpl.java
Log:
Better error messages/exception handling
Revision Changes Path
1.56 +3 -3 JBossCache/src/org/jboss/cache/CacheImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- CacheImpl.java 19 Mar 2007 19:03:34 -0000 1.55
+++ CacheImpl.java 20 Mar 2007 13:26:10 -0000 1.56
@@ -1967,11 +1967,11 @@
CacheException ex;
if (rsp.wasSuspected())
{
- ex = new SuspectException("suspected member: " + rsp.getSender());
+ ex = new SuspectException("Suspected member: " + rsp.getSender());
}
else
{
- ex = new TimeoutException("timeout for " + rsp.getSender());
+ ex = new TimeoutException("Replication timeout for " + rsp.getSender());
}
retval.add(new ReplicationException("rsp=" + rsp, ex));
}
@@ -2676,7 +2676,7 @@
return null;
}
}
- catch (Exception ex)
+ catch (Throwable ex)
{
log.warn("replication failure with method_call " + method_call + " exception", ex);
throw ex;
More information about the jboss-cvs-commits
mailing list