dependency-check-core/src/main/java/org/owasp/dependencycheck/Engine.java
/**
     * Initializes the given analyzer.
     *
     * @param analyzer the analyzer to initialize
     * @throws InitializationException thrown when there is a problem
     * initializing the analyzer
     */
Initializes the given analyzer.
@param analyzer the analyzer to initialize
@throws InitializationException thrown when there is a problem
initializing the analyzer
Initializes the given analyzer . @param analyzer the analyzer to initialize @throws InitializationException thrown when there is a problem initializing the analyzer
protected void initializeAnalyzer(Analyzer analyzer) throws InitializationException {
        try {
            LOGGER.debug("Initializing {}", analyzer.getName());
            analyzer.initialize();
        } catch (InitializationException ex) {
            LOGGER.error("Exception occurred initializing {}.", analyzer.getName());
            LOGGER.debug("", ex);
            try {
                analyzer.close();
            } catch (Throwable ex1) {
                LOGGER.trace("", ex1);
            }
            throw ex;
        } catch (Throwable ex) {
            LOGGER.error("Unexpected exception occurred initializing {}.", analyzer.getName());
            LOGGER.debug("", ex);
            try {
                analyzer.close();
            } catch (Throwable ex1) {
                LOGGER.trace("", ex1);
            }
            throw new InitializationException("Unexpected Exception", ex);
        }
    }
protected void initializeAnalyzer ( Analyzer analyzer ) throws InitializationException { try { LOGGER . debug ( "Initializing {}" , analyzer . getName ( ) ) ; analyzer . initialize ( ) ; } catch ( InitializationException ex ) { LOGGER . error ( "Exception occurred initializing {}." , analyzer . getName ( ) ) ; LOGGER . debug ( "" , ex ) ; try { analyzer . close ( ) ; } catch ( Throwable ex1 ) { LOGGER . trace ( "" , ex1 ) ; } throw ex ; } catch ( Throwable ex ) { LOGGER . error ( "Unexpected exception occurred initializing {}." , analyzer . getName ( ) ) ; LOGGER . debug ( "" , ex ) ; try { analyzer . close ( ) ; } catch ( Throwable ex1 ) { LOGGER . trace ( "" , ex1 ) ; } throw new InitializationException ( "Unexpected Exception" , ex ) ; } }
Initializes the given analyzer.
Initializes the given analyzer .