fix class names
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Feb 2009 20:22:25 +0000 (15:22 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Feb 2009 20:22:25 +0000 (15:22 -0500)
framework/Service_Facebook/lib/Horde/Service/Facebook.php

index ce5149f..bf6746e 100644 (file)
@@ -554,7 +554,7 @@ class Horde_Service_Facebook
 
 
     if (is_array($result) && isset($result['error_code'])) {
-      throw new FacebookRestClientException($result['error_msg'],
+      throw new Horde_Service_Facebook_Exception($result['error_msg'],
                                             $result['error_code']);
     }
 
@@ -567,7 +567,7 @@ class Horde_Service_Facebook
 
       if (is_array($batch_item_result) &&
           isset($batch_item_result['error_code'])) {
-        throw new FacebookRestClientException($batch_item_result['error_msg'],
+        throw new Horde_Service_Facebook_Exception($batch_item_result['error_msg'],
                                               $batch_item_result['error_code']);
       }
       $batch_item['r'] = $batch_item_result;