On Mon, 28 Feb 2022 07:16:52 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/table/DefaultTableColumnModel.java >> line 294: >> >>> 292: * at <code>columnIndex</code> >>> 293: * @exception ArrayIndexOutOfBoundsException if >>> <code>columnIndex</code> >>> 294: * is out of range: >> >> As Joe Darcy pointed out, we use @throws these days. > > I was aware of that but this file uses @exception throughout, so to be > consistent, I used that..But if it is recommended to use @throws even at the > cost of being inconsistent within the file, I would use that. It is the reason why I didn't ask to use `@throws` which is the preferred way. Anyway, #7644 with [JDK-8282473](https://bugs.openjdk.java.net/browse/JDK-8282473) will bring consistency and all `@exception` tags will be replaced with `@throws`. ------------- PR: https://git.openjdk.java.net/jdk/pull/7587