facebook/facebook-php-sdk-v4 — pull request #7 by SammyK (2014-04-30 19:44:00+00:00)
Title: FacebookRequestException now extends FacebookSDKException

Simple change but this will now allow a developer to catch all exceptions the SDK would throw by just catching `FacebookSDKException`.

So instead of forcing the developer to catch 2 exceptions every time like this:

```php
try {
} catch (FacebookRequestException $e) {
} catch (FacebookSDKException $e) {
}
```

They can just do this and figure out what kind of exception was thrown from there.

```php
try {
} catch (FacebookSDKException $e) {
}
```

This is useful for when using something like [Laravel's exception catch-all handler](http://laravel.com/docs/errors#handling-errors) that can be set up to catch all of the SDK's exceptions.