dirkv       02/01/06 16:47:28

  Modified:    src/share/org/apache/slide/store AbstractStore.java
  Log:
  NotFoundExceptions and AlreadyExistsExceptions aren't considered fatal
  the transaction won't be always rolledback when committed
  
  Revision  Changes    Path
  1.25      +14 -15    
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.25
  diff -u -r1.24 -r1.25
  --- AbstractStore.java        4 Nov 2001 06:15:32 -0000       1.24
  +++ AbstractStore.java        7 Jan 2002 00:47:28 -0000       1.25
  @@ -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.25 
2002/01/07 00:47:28 dirkv Exp $
  + * $Revision: 1.25 $
  + * $Date: 2002/01/07 00:47:28 $
    *
    * ====================================================================
    *
  @@ -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.25 $
    */
   public abstract class AbstractStore extends AbstractSimpleService
       implements Store {
  @@ -540,7 +540,7 @@
               delist(nodeStore, false);
               throw e;
           } catch (ObjectNotFoundException e) {
  -            delist(nodeStore, false);
  +            delist(nodeStore);
               throw e;
           } catch (Throwable t) {
               delist(nodeStore, false);
  @@ -571,7 +571,7 @@
               delist(nodeStore, false);
               throw e;
           } catch (ObjectAlreadyExistsException e) {
  -            delist(nodeStore, false);
  +            delist(nodeStore);
               throw e;
           } catch (Throwable t) {
               delist(nodeStore, false);
  @@ -599,7 +599,7 @@
               delist(nodeStore, false);
               throw e;
           } catch (ObjectNotFoundException e) {
  -            delist(nodeStore, false);
  +            delist(nodeStore);
               throw e;
           } catch (Throwable t) {
               delist(nodeStore, false);
  @@ -762,7 +762,7 @@
               delist(lockStore, false);
               throw e;
           } catch (LockTokenNotFoundException e) {
  -            delist(lockStore, false);
  +            delist(lockStore);
               throw e;
           } catch (Throwable t) {
               delist(lockStore, false);
  @@ -790,7 +790,7 @@
               delist(lockStore, false);
               throw e;
           } catch (LockTokenNotFoundException e) {
  -            delist(lockStore, false);
  +            delist(lockStore);
               throw e;
           } catch (Throwable t) {
               delist(lockStore, false);
  @@ -818,7 +818,7 @@
               delist(lockStore, false);
               throw e;
           } catch (LockTokenNotFoundException e) {
  -            delist(lockStore, false);
  +            delist(lockStore);
               throw e;
           } catch (Throwable t) {
               delist(lockStore, false);
  @@ -964,7 +964,7 @@
               delist(revisionDescriptorsStore, false);
               throw e;
           } catch (RevisionDescriptorNotFoundException e) {
  -            delist(revisionDescriptorsStore, false);
  +            delist(revisionDescriptorsStore);
               throw e;
           } catch (Throwable t) {
               delist(revisionDescriptorsStore, false);
  @@ -1099,7 +1099,7 @@
               delist(revisionDescriptorStore, false);
               throw e;
           } catch (RevisionDescriptorNotFoundException e) {
  -            delist(revisionDescriptorStore, false);
  +            delist(revisionDescriptorStore);
               throw e;
           } catch (Throwable t) {
               delist(revisionDescriptorStore, false);
  @@ -1208,7 +1208,7 @@
               delist(contentStore, false);
               throw e;
           } catch (RevisionAlreadyExistException e) {
  -            delist(contentStore, false);
  +            delist(contentStore);
               throw e;
           } catch (Throwable t) {
               delist(contentStore, false);
  @@ -1240,7 +1240,7 @@
               delist(contentStore, false);
               throw e;
           } catch (RevisionNotFoundException e) {
  -            delist(contentStore, false);
  +            delist(contentStore);
               throw e;
           } catch (Throwable t) {
               delist(contentStore, false);
  @@ -1462,4 +1462,3 @@
       
       
   }
  -
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to