Can I use multiple @throws tags for the same exception in Javadoc?
Pergunta
Can I use multiple @throws
javadoc tags if my application throws the same exception for multiple reasons? For example:
@throws UserException if issue 1 happened
@throws UserException if issue 2 happened
@throws UserException if issue 3 happened
Is it prohibited by JavaDoc standard?
Outras dicas
Just tested this the generated JavaDoc contains all 3 @throws.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow