Class InvalidModelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.models.factory.InvalidModelException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidResourceException

@ProviderType public class InvalidModelException extends 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:
  • Constructor Details

    • InvalidModelException

      public InvalidModelException(String message)