Avoid errors by explicitely namespacing root exception

This commit is contained in:
Romain Neutron
2014-02-20 11:28:31 +01:00
parent fab9a64ae0
commit 2af21c064c
73 changed files with 164 additions and 164 deletions

View File

@@ -83,7 +83,7 @@ class Feed_Adapter extends Feed_Abstract implements Feed_Interface, cache_cachea
$this->public = $datas['public'];
return $this;
} catch (Exception $e) {
} catch (\Exception $e) {
}
@@ -476,7 +476,7 @@ class Feed_Adapter extends Feed_Abstract implements Feed_Interface, cache_cachea
{
try {
return $this->get_data_from_cache(self::CACHE_ENTRY_NUMBER);
} catch (Exception $e) {
} catch (\Exception $e) {
}
@@ -619,7 +619,7 @@ class Feed_Adapter extends Feed_Abstract implements Feed_Interface, cache_cachea
if (!$renew) {
return $this->get_data_from_cache($cache_key);
}
} catch (Exception $e) {
} catch (\Exception $e) {
}

View File

@@ -122,7 +122,7 @@ class Feed_Collection implements Feed_CollectionInterface, cache_cacheableInterf
try {
return $appbox->get_data_from_cache($key);
} catch (Exception $e) {
} catch (\Exception $e) {
}

View File

@@ -130,7 +130,7 @@ class Feed_Entry_Adapter implements Feed_Entry_Interface, cache_cacheableInterfa
$this->created_on = $datas['created_on'];
return $this;
} catch (Exception $e) {
} catch (\Exception $e) {
}
@@ -467,7 +467,7 @@ class Feed_Entry_Adapter implements Feed_Entry_Interface, cache_cacheableInterfa
{
try {
return $this->get_data_from_cache(self::CACHE_ELEMENTS);
} catch (Exception $e) {
} catch (\Exception $e) {
}

View File

@@ -85,7 +85,7 @@ class Feed_Entry_Item implements Feed_Entry_ItemInterface, cache_cacheableInterf
$this->ord = $datas['ord'];
return $this;
} catch (Exception $e) {
} catch (\Exception $e) {
}

View File

@@ -85,7 +85,7 @@ class Feed_Publisher_Adapter implements Feed_Publisher_Interface, cache_cacheabl
$this->owner = $datas['owner'];
return $this;
} catch (Exception $e) {
} catch (\Exception $e) {
}