- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
// is the instance there?
if (is_null(self::$configInstance)) {
// Create a config instance
// is the instance there?
if (is_null(self::$configInstance)) {
// Create a config instance
* @param $cfgEntry The configuration element
* @return $cfgValue The fetched configuration value
* @throws ConfigEntryIsEmptyException If $cfgEntry is empty
* @param $cfgEntry The configuration element
* @return $cfgValue The fetched configuration value
* @throws ConfigEntryIsEmptyException If $cfgEntry is empty
throw new ConfigEntryIsEmptyException($this, self::EXCEPTION_CONFIG_ENTRY_IS_EMPTY);
} elseif (!$this->isConfigurationEntrySet($cfgEntry)) {
// Entry was not found!
throw new ConfigEntryIsEmptyException($this, self::EXCEPTION_CONFIG_ENTRY_IS_EMPTY);
} elseif (!$this->isConfigurationEntrySet($cfgEntry)) {
// Entry was not found!
- throw new ConfigEntryNotFoundException(array(__CLASS__, $cfgEntry), self::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND);
+ throw new NoConfigEntryException(array(__CLASS__, $cfgEntry), self::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND);