@throws does not require @linking the target exception.
/** * Validates {@code n}. * * @throws {@link Exception} if n is negative. */ void validate(int n) throws Exception { ... }
/** * Validates {@code n}. * * @throws Exception if n is negative. */ void validate(int n) throws Exception { ... }
Suppress by applying @SuppressWarnings("InvalidThrowsLink") to the element being documented.