source/Setup/Utilities.php
private function handleMissingConfigFileException($pathToConfigFile)
    {
        if (!file_exists($pathToConfigFile)) {
            $language = $this->getLanguageInstance();

            throw new Exception(sprintf($language->getText('ERROR_COULD_NOT_OPEN_CONFIG_FILE'), $pathToConfigFile));
        }
    }
private function handleMissingConfigFileException($pathToConfigFile)
    {
        if (!file_exists($pathToConfigFile)) {
            $language = $this->getLanguageInstance();

            throw new Exception(sprintf($language->getText('ERROR_COULD_NOT_OPEN_CONFIG_FILE'), $pathToConfigFile));
        }
    }
private function handleMissingConfigFileException ( $ pathToConfigFile ) { if ( ! file_exists ( $ pathToConfigFile ) ) { $ language = $ this -> getLanguageInstance ( ) ; throw new Exception ( sprintf ( $ language -> getText ( 'ERROR_COULD_NOT_OPEN_CONFIG_FILE' ) , $ pathToConfigFile ) ) ; } }
Throws an exception in case config file is missing.

This is necessary to suppress PHP warnings during Setup. With the help of exception this problem is
caught and displayed properly.

@param string $pathToConfigFile File path to eShop configuration file.

@throws Exception Config file is missing.
Throws an exception in case config file is missing .