Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.models.factory.ValidationException
All Implemented Interfaces:
Serializable

@ProviderType public class ValidationException extends RuntimeException
Thrown in case an validation could not be performed for the given model. (although it would be required through ValidationStrategy.REQUIRED). Depends on the actual implementation under which exact circumstances this is thrown.
See Also:
  • Constructor Details

    • ValidationException

      public ValidationException(String message)
    • ValidationException

      public ValidationException(Throwable cause)