I would rather not add/remove throws
clauses manually, especially while prototyping. Is there a batch refactoring tool that adds/removes throws
clauses to every method to reflect the code? After all, the compiler tells you what exceptions a method may throw, therefore maybe a tool exists that uses that information to manipulate throws
clauses.
EDIT: Before I clarified that I am looking for a batch tool, somebody has mentioned a manual intervention via IDE, but this is not what I am looking for. I am looking for a batch utility.