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

@@ -259,7 +259,7 @@ class media_Permalink_Adapter implements media_Permalink_Interface, cache_cachea
$this->label = $datas['label'];
return $this;
} catch (Exception $e) {
} catch (\Exception $e) {
}
@@ -307,7 +307,7 @@ class media_Permalink_Adapter implements media_Permalink_Interface, cache_cachea
{
try {
return new self($app, $databox, $media_subdef);
} catch (Exception $e) {
} catch (\Exception $e) {
}