ant/src/main/java/org/owasp/dependencycheck/taskdefs/Check.java
/**
     * Validate the configuration to ensure the parameters have been properly
     * configured/initialized.
     *
     * @throws BuildException if the task was not configured correctly.
     */
Validate the configuration to ensure the parameters have been properly
configured/initialized.

@throws BuildException if the task was not configured correctly.
Validate the configuration to ensure the parameters have been properly configured / initialized . @throws BuildException if the task was not configured correctly .
private synchronized void validateConfiguration() throws BuildException {
        if (path == null) {
            throw new BuildException("No project dependencies have been defined to analyze.");
        }
        if (failBuildOnCVSS < 0 || failBuildOnCVSS > 11) {
            throw new BuildException("Invalid configuration, failBuildOnCVSS must be between 0 and 11.");
        }
    }
private synchronized void validateConfiguration ( ) throws BuildException { if ( path == null ) { throw new BuildException ( "No project dependencies have been defined to analyze." ) ; } if ( failBuildOnCVSS < 0 || failBuildOnCVSS > 11 ) { throw new BuildException ( "Invalid configuration, failBuildOnCVSS must be between 0 and 11." ) ; } }
Validate the configuration to ensure the parameters have been properly
 configured/initialized.
Validate the configuration to ensure the parameters have been properly configured / initialized .