Package org.apache.sling.models.factory
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.models.factory.ValidationException
-
- All Implemented Interfaces:
java.io.Serializable
@ProviderType public class ValidationException extends java.lang.RuntimeException
Thrown in case an validation could not be performed for the given model. (although it would be required throughValidationStrategy.REQUIRED
). Depends on the actual implementation under which exact circumstances this is thrown.- See Also:
ModelFactory
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(java.lang.String message)
ValidationException(java.lang.Throwable cause)
-