Class ConfigurationValidationException

All Implemented Interfaces:
Serializable

public class ConfigurationValidationException extends ConfigurationException
An exception thrown where there is an error validating a configuration object.
See Also:
  • Constructor Details

    • ConfigurationValidationException

      public ConfigurationValidationException(String path, Set<jakarta.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 Details

    • getConstraintViolations

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