remm        02/02/14 10:08:51

  Modified:    src/share/org/apache/slide/store Tag: SLIDE_1_0
                        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
  No                   revision
  
  
  No                   revision
  
  
  1.24.2.1  +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.24
  retrieving revision 1.24.2.1
  diff -u -r1.24 -r1.24.2.1
  --- AbstractStore.java        4 Nov 2001 06:15:32 -0000       1.24
  +++ AbstractStore.java        14 Feb 2002 18:08:51 -0000      1.24.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v 1.24 
2001/11/04 06:15:32 remm Exp $
  - * $Revision: 1.24 $
  - * $Date: 2001/11/04 06:15:32 $
  + * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/AbstractStore.java,v 1.24.2.1 
2002/02/14 18:08:51 remm Exp $
  + * $Revision: 1.24.2.1 $
  + * $Date: 2002/02/14 18:08:51 $
    *
    * ====================================================================
    *
  @@ -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.24 $
  + * @version $Revision: 1.24.2.1 $
    */
   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]>

Reply via email to