Class ConfigurationValidationException

All Implemented Interfaces:
Serializable

public class ConfigurationValidationException extends DeltaXMLException
An Exception of this type is thrown when a configuration instance cannot be validated, due to problems in the configuration data supplied by the user.
See Also:
  • Constructor Details

    • ConfigurationValidationException

      public ConfigurationValidationException(String message)
      Constructs a new ConfigurationValidationException with the specified detail message. The list of validation errors is not initialized.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
    • ConfigurationValidationException

      public ConfigurationValidationException(String message, List<String> errors)
      Constructs a new ConfigurationValidationException with the specified detail message and a list of validation errors.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      errors - the list of validation errors (which is saved for later retrieval by the getErrors() method)
  • Method Details

    • getErrors

      public List<String> getErrors()
      Get the list of individual validation errors.
      Returns:
      a list of errors found from validating the passed configuration.