throwskeyword vs@throwsJavadoc tagthrows- Checked exceptions must be caught and handled or propagated with the
throwskeyword. - Do not use the
throwskeyword to document unchecked exceptions.
- Checked exceptions must be caught and handled or propagated with the
@throws- Document precisely the conditions under which each exception can be thrown, both checked and unchecked.