8230648: Replace @exception tag with @throws in java.base

Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
This commit is contained in:
Julia Boes 2019-09-20 11:07:52 +01:00
parent 2fc6c6459d
commit b15b322cf3
196 changed files with 1959 additions and 1962 deletions

View file

@ -233,7 +233,7 @@ public class Package extends NamedPackage implements java.lang.reflect.Annotated
* Returns true if this package is sealed with respect to the specified
* code source {@code url}.
*
* @param url the code source URL
* @param url the code source URL
* @return true if this package is sealed with respect to the given {@code url}
*/
public boolean isSealed(URL url) {
@ -267,12 +267,12 @@ public class Package extends NamedPackage implements java.lang.reflect.Annotated
* If the values are equal the period is skipped and the next pair of
* components is compared.
*
* @param desired the version string of the desired version.
* @param desired the version string of the desired version.
* @return true if this package's version number is greater
* than or equal to the desired version number
* than or equal to the desired version number
*
* @exception NumberFormatException if the current version is not known or
* the desired or current version is not of the correct dotted form.
* @throws NumberFormatException if the current version is not known or
* the desired or current version is not of the correct dotted form.
*/
public boolean isCompatibleWith(String desired)
throws NumberFormatException