/** * Check for config options that are mandatory. * Throw exceptions if any are missing. * * @param array $config array of config options * @throws Zend_Db_Adapter_Exception * @return void */ protected function _checkRequiredOptions(array $config) { if (!array_key_exists('host', $config)) { require_once 'Zend/Db/Adapter/Oracle/Exception.php'; throw new Zend_Db_Adapter_Oracle_Exception("Configuration array must have a key for 'host' naming the hostname or ip of the database server"); } parent::_checkRequiredOptions($config); }