Checks that all exceptions thrown by function are properly documented in it's PHPDoc with @throws tags.