Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
__construct ($result) | |
getResult () | |
getType () | |
__toString () | |
Protected Attributes | |
$result |
Thrown when an API call returns an exception.
Definition at line 15 of file facebook.php.
__construct | ( | $ | result | ) |
Make a new API Exception with the given result.
Array | $result | the result from the API server |
Definition at line 27 of file facebook.php.
__toString | ( | ) |
To make debugging easier.
Definition at line 84 of file facebook.php.
getResult | ( | ) |
Return the associated result object returned by the API server.
Definition at line 53 of file facebook.php.
getType | ( | ) |
Returns the associated type for the error. This will default to 'Exception' when a type is not available.
Definition at line 63 of file facebook.php.
$result [protected] |
The result from the API server that represents the exception information.
Definition at line 20 of file facebook.php.