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.
I suggest you use your IDE to add checked exceptions to your method unless you intend to handle that exception. This way you code won't be a mess when it comes to production-ising it. i.e. you don't have to think about it, just let your IDE do the work.
In IntelliJ, I select the line which has a checked exception and hit
<Alt>+<Enter>as I do to fix most errors and selectAdd exception to method signaturewhich can also add it to any method overridden as well.