Code cleanups, deprecated classes renamed
[core.git] / inc / config / class_FrameworkConfiguration.php
index 70f0585895cc6e3ff6ae6ee89299e7e6485a56c5..f37194d94aaa8abcbf9928cb5782cfce6985646b 100644 (file)
@@ -119,7 +119,7 @@ class FrameworkConfiguration implements Registerable {
         * @param       $cfgEntry       The configuration element
         * @return      $cfgValue       The fetched configuration value
         * @throws      ConfigEntryIsEmptyException             If $cfgEntry is empty
-        * @throws      ConfigEntryNotFoundException    If a configuration element
+        * @throws      NoConfigEntryException  If a configuration element
         *                                                                                      was not found
         */
        public function getConfigEntry ($cfgEntry) {
@@ -132,7 +132,7 @@ class FrameworkConfiguration implements Registerable {
                        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);
                }
 
                // Return the requested value