private void validate(RankProfile.Constant constant,
                          ApplicationPackage applicationPackage,
                          ExceptionMessageCollector exceptionMessageCollector) {
        try {
            validate(constant, applicationPackage);
        } catch (InvalidConstantTensorException | FileNotFoundException exception) {
            exceptionMessageCollector.add(constant, exception);
        }
    }
RankingConstantsValidator validates all constant tensors (ranking constants) bundled with an application package

@author Vegard Sjonfjell
config-model/src/main/java/com/yahoo/vespa/model/application/validation/ConstantValidator.java