This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.jcr.repoinit-1.0.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-repoinit.git
commit 909608ba6832c9b1924fa7aede1ec5dc1c95def8 Author: Bertrand Delacretaz <bdelacre...@apache.org> AuthorDate: Wed Dec 23 11:31:49 2015 +0000 SLING-5355 - better error reporting git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/acldef/oak-jcr@1721523 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/sling/acldef/jcr/AclOperationVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/acldef/jcr/AclOperationVisitor.java b/src/main/java/org/apache/sling/acldef/jcr/AclOperationVisitor.java index e4748ec..f99b1b6 100644 --- a/src/main/java/org/apache/sling/acldef/jcr/AclOperationVisitor.java +++ b/src/main/java/org/apache/sling/acldef/jcr/AclOperationVisitor.java @@ -89,7 +89,7 @@ public class AclOperationVisitor implements OperationVisitor { try { AclUtil.setAcl(s, principals, paths, privileges, isAllow); } catch(Exception e) { - throw new RuntimeException("Failed to set ACL (" + e.getClass().getSimpleName() + ") " + line, e); + throw new RuntimeException("Failed to set ACL (" + e.toString() + ") " + line, e); } } -- To stop receiving notification emails like this one, please contact "commits@sling.apache.org" <commits@sling.apache.org>.