Class SlingValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.validation.SlingValidationException
All Implemented Interfaces:
Serializable

@ConsumerType public class SlingValidationException extends RuntimeException
Exception that is thrown for Validator inconsistencies, e.g. if a mandatory parameter for a validator is missing.
See Also:
  • Constructor Details

    • SlingValidationException

      public SlingValidationException(String message)
    • SlingValidationException

      public SlingValidationException(String message, Throwable cause)