Horde_Http_Client_Exception -> Horde_Http_Exception
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 24 Oct 2009 16:39:10 +0000 (12:39 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 24 Oct 2009 16:40:02 +0000 (12:40 -0400)
framework/Service_Twitter/lib/Horde/Service/Twitter/Request/Basic.php
framework/Service_Twitter/lib/Horde/Service/Twitter/Request/Oauth.php
framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php

index f085172..52c7e8b 100644 (file)
@@ -30,7 +30,7 @@ class Horde_Service_Twitter_Request_Basic extends Horde_Service_Twitter_Request
         $client = new Horde_Http_Client();
         try {
             $response = $client->get($url, array('Authorization' => $this->_twitter->auth->buildAuthorizationHeader()));
-        } catch (Horde_Http_Client_Exception $e) {
+        } catch (Horde_Http_Exception $e) {
             throw new Horde_Service_Twitter_Exception($e);
         }
 
@@ -50,7 +50,7 @@ class Horde_Service_Twitter_Request_Basic extends Horde_Service_Twitter_Request
         $client = new Horde_Http_Client();
         try {
             $response = $client->post($url, $params, array('Authorization' => $this->_twitter->auth->buildAuthorizationHeader()));
-        } catch (Horde_Http_Client_Exception $e) {
+        } catch (Horde_Http_Exception $e) {
             throw new Horde_Service_Twitter_Exception($e);
         }
 
index 87702f9..cfe213e 100644 (file)
@@ -34,7 +34,7 @@ class Horde_Service_Twitter_Request_Oauth extends Horde_Service_Twitter_Request
         $client = new Horde_Http_Client();
         try {
             $response = $client->get($url, array('Authorization' => $request->buildAuthorizationHeader('Twitter API')));
-        } catch (Horde_Http_Client_Exception $e) {
+        } catch (Horde_Http_Exception $e) {
             throw new Horde_Service_Twitter_Exception($e);
         }
 
@@ -64,7 +64,7 @@ class Horde_Service_Twitter_Request_Oauth extends Horde_Service_Twitter_Request
         $client = new Horde_Http_Client();
         try {
             $response = $client->post($url, $params, array('Authorization' => $request->buildAuthorizationHeader('Twitter API')));
-        } catch (Horde_Http_Client_Exception $e) {
+        } catch (Horde_Http_Exception $e) {
             throw new Horde_Service_Twitter_Exception($e);
         }
 
index cf1fd0b..d81ec0e 100644 (file)
@@ -116,7 +116,7 @@ class Horde_Service_Vimeo_Simple extends Horde_Service_Vimeo {
 
         try {
             $response = $this->_http_client->request('GET', $url);
-        } catch (Horde_Http_Client_Exception $e) {
+        } catch (Horde_Http_Exception $e) {
             // TODO:
             // Some videos it seems are not found via oembed? This appears to be
             // a fringe case, and only happens when I'm attempting to load