Package org.apache.sling.models.factory
Class PostConstructException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.models.factory.ModelClassException
-
- org.apache.sling.models.factory.PostConstructException
-
- All Implemented Interfaces:
java.io.Serializable
@ProviderType public class PostConstructException extends ModelClassException
Exception which is triggered, whenever the post-construct method has thrown an exception. The cause (accessible viaThrowable.getCause()
) is always the original exception being thrown from the post-construct method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PostConstructException(java.lang.String message, java.lang.Throwable cause)
-