summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--providers/Twitter.php2
-rw-r--r--providers/XmlFeed.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/providers/Twitter.php b/providers/Twitter.php
index 9a98364..11532b5 100644
--- a/providers/Twitter.php
+++ b/providers/Twitter.php
@@ -45,7 +45,7 @@ class Twitter extends \Providers\Provider {
}, $content->errors
));
}
- throw new Exception($errorString);
+ throw new \Exception($errorString);
}
unset($content->httpstatus);
diff --git a/providers/XmlFeed.php b/providers/XmlFeed.php
index d5ecd1c..0ac5e6f 100644
--- a/providers/XmlFeed.php
+++ b/providers/XmlFeed.php
@@ -15,7 +15,7 @@ abstract class XmlFeed extends \Providers\Provider {
parent::__construct($feed, $options);
$this->_feedUrl = $this->_getFeedUrl($feed);
if (!$this->_feedUrl) {
- throw new Exception('XML feed "' . $feed . '" undefined');
+ throw new \Exception('XML feed "' . $feed . '" undefined');
}
}