remm 02/02/14 10:07:27
Modified: src/share/org/apache/slide/store AbstractStore.java
Log:
- Fix a cut & paste bug (which went on unoticed, as the descriptors store is most of
the time
the same as the descriptor store).
- When there's an enlist exception, put the exception in the ServiceAccessException
so that the full stack
trace is logged.
- Patch submitted by Jan Tisje.
Revision Changes Path
1.26 +6 -6
jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java
Index: AbstractStore.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- AbstractStore.java 7 Jan 2002 00:47:28 -0000 1.25
+++ AbstractStore.java 14 Feb 2002 18:07:27 -0000 1.26
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v 1.25
2002/01/07 00:47:28 dirkv Exp $
- * $Revision: 1.25 $
- * $Date: 2002/01/07 00:47:28 $
+ * $Header:
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v 1.26
2002/02/14 18:07:27 remm Exp $
+ * $Revision: 1.26 $
+ * $Date: 2002/02/14 18:07:27 $
*
* ====================================================================
*
@@ -89,7 +89,7 @@
* Abstract implementation of a store. Handles all caching operations.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Remy Maucherat</a>
- * @version $Revision: 1.25 $
+ * @version $Revision: 1.26 $
*/
public abstract class AbstractStore extends AbstractSimpleService
implements Store {
@@ -1011,7 +1011,7 @@
throws ServiceAccessException, RevisionDescriptorNotFoundException {
NodeRevisionDescriptor revisionDescriptor = null;
if (isForceStoreEnlistment(uri)) {
- enlist(revisionDescriptorsStore);
+ enlist(revisionDescriptorStore);
try {
revisionDescriptor =
revisionDescriptorStore.retrieveRevisionDescriptor
@@ -1374,7 +1374,7 @@
} catch (Exception e) {
// Something went wrong.
setRollbackOnly();
- throw new ServiceAccessException(this, e.getMessage());
+ throw new ServiceAccessException(this, e);
}
if (!enlisted) {
try {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>