Exceptions specialization

I specialized exceptions using [SPL Exceptions](http://php.net/spl.exceptions.php) and updated PHPDoc blocks as well.

My text editor (ST2) also seems to have removed extra whitespace.