What does the `@return` tag do in Javadoc?
`@return` is used to document the exceptions thrown by a method.
Thatâ€™s partially correct. `@return` is used for the return value, while `@throws` or `@exception` is used for documenting exceptions.
Can you explain how `@throws` or `@exception` is used to document exceptions in Javadoc?