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:
Serializable
Exception which is triggered, whenever the post-construct method has thrown an exception.
The cause (accessible via
Throwable.getCause()
) is always the original exception being thrown from the post-construct method.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PostConstructException
- Parameters:
message
- some messagecause
- the original exception being thrown in the post-construct
-