generator should add exception information in method annotation