Add missing @throws PHPDoc declaration.