ozeigermann    2004/12/15 08:45:02

  Modified:    src/share/org/apache/slide/security SecurityImpl.java
  Log:
  Rethrow Errors. This is cleaner for one,
  but most important allows ConcurrencyConflict (Error) to fall through to 
WebDAV
  layer
  
  Revision  Changes    Path
  1.61      +7 -4      
jakarta-slide/src/share/org/apache/slide/security/SecurityImpl.java
  
  Index: SecurityImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/security/SecurityImpl.java,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- SecurityImpl.java 26 Nov 2004 23:37:42 -0000      1.60
  +++ SecurityImpl.java 15 Dec 2004 16:45:02 -0000      1.61
  @@ -1351,6 +1351,9 @@
                       security.logger.log("  "+i.next(), LOG_CHANNEL, 
Logger.DEBUG);
                   }
               }
  +        } catch (Error e) {
  +            cache.fail();
  +            throw e;
           }
           catch (Throwable e) {
               security.logger.log(e, LOG_CHANNEL, Logger.ERROR);
  
  
  

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

Reply via email to