incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r633926 - /incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
Date Wed, 05 Mar 2008 16:44:10 GMT
Author: cziegeler
Date: Wed Mar  5 08:44:10 2008
New Revision: 633926

URL: http://svn.apache.org/viewvc?rev=633926&view=rev
Log:
SLING-309: Rethrow access control exception to catch it in the sling main servlet.

Modified:
    incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java

Modified: incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java?rev=633926&r1=633925&r2=633926&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
(original)
+++ incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
Wed Mar  5 08:44:10 2008
@@ -297,6 +297,8 @@
                 curPath = it.next();
                 resource = getResourceInternal(curPath);
             }
+        } catch (AccessControlException ace) {
+            throw ace;
         } catch (Exception ex) {
             throw new SlingException("Problem trying " + curPath
                 + " for request path " + uriPath, ex);



Mime
View raw message