Package org.apache.sling.models.factory
Class ModelClassException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.models.factory.ModelClassException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
PostConstructException
@ProviderType public class ModelClassException extends java.lang.RuntimeException
Exception which is triggered when the Model class could not be instantiated due to not having a model annotation, some reflection error, invalid constructors or because some exception within the post construct method was triggered.- See Also:
ModelFactory
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelClassException(java.lang.String message)
ModelClassException(java.lang.String message, java.lang.Throwable e)
-