class PDSJobConfigurationValidator {

    public void assertPDSConfigurationValid(PDSJobConfiguration configuration) {
        String message = createValidationErrorMessage(configuration);
        if (message == null) {
            return;
        }
        LOG.warn("pds job configuration not valid - message:{}", message);

        throw new PDSNotAcceptableException("Configuration invalid:" + message);

    }

}