Class ConfigurationValidationException

    • Constructor Detail

      • ConfigurationValidationException

        public ConfigurationValidationException​(String path,
                                                Set<javax.validation.ConstraintViolation<T>> errors)
        Creates a new ConfigurationException for the given path with the given errors.
        Type Parameters:
        T - the type of the root bean of a constraint violation
        Parameters:
        path - the bad configuration path
        errors - the errors in the path
    • Method Detail

      • getConstraintViolations

        public Set<javax.validation.ConstraintViolation<?>> getConstraintViolations()
        Returns the set of constraint violations in the configuration.
        Returns:
        the set of constraint violations