generator should add exception information in method annotation

Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev: