Package org.apache.sling.models.factory
Class InvalidModelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.models.factory.InvalidModelException
-
- All Implemented Interfaces:
java.io.Serializable
@ProviderType public class InvalidModelException extends java.lang.RuntimeException
Thrown in case the given model type could not be validated through the model validation. The actual validation error message is encapsulated- See Also:
ModelFactory
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidModelException(java.lang.String message)
-