This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.models.api-1.2.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-api.git
commit ee84eccc6d68fac25d8db82e1edcbaea5752153b Author: Konrad Windszus <[email protected]> AuthorDate: Mon Jun 1 07:24:20 2015 +0000 SLING-4767 clarify javadoc around PostConstructException git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/api@1682827 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/sling/models/factory/PostConstructException.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/apache/sling/models/factory/PostConstructException.java b/src/main/java/org/apache/sling/models/factory/PostConstructException.java index a1d3122..dea789e 100644 --- a/src/main/java/org/apache/sling/models/factory/PostConstructException.java +++ b/src/main/java/org/apache/sling/models/factory/PostConstructException.java @@ -20,6 +20,7 @@ package org.apache.sling.models.factory; /** * Exception which is triggered, whenever the post-construct method has thrown an exception. + * The cause (accessible via {@link #getCause()}) is always the original exception being thrown from the post-construct method. */ public class PostConstructException extends ModelClassException { @@ -28,6 +29,11 @@ public class PostConstructException extends ModelClassException { */ private static final long serialVersionUID = -2527043835215727726L; + /** + * + * @param message some message + * @param cause the original exception being thrown in the post-construct + */ public PostConstructException(String message, Throwable cause) { super(message, cause); } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
