I just recently found out that one can use multiple @throws tags for the same exception in Javadoc. One of my students used it to document one of his methods in Connect Four: Now my (and his) question: Is there an official style guide or a general recommendation on whether to use a single @throws tag or “is it fine”
Tag: throws
Java checked exceptions
I’m trying to understand checked exceptions in Java and have the following query. Is the following correct: If a method has the potential to throw a checked exception, of any type, that exception must either be declared using the throws keyword, or caught by the respective method. If the above is correct, does this mean that I need to understand