< prev index next >
src/java.base/share/classes/java/util/PropertyPermission.java
Print this page
rev 56290 : 8230648: Replace @exception tag with @throws in java.base
Summary: Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
@@ -461,14 +461,14 @@
* Adds a permission to the PropertyPermissions. The key for the hash is
* the name.
*
* @param permission the Permission object to add.
*
- * @exception IllegalArgumentException - if the permission is not a
+ * @throws IllegalArgumentException - if the permission is not a
* PropertyPermission
*
- * @exception SecurityException - if this PropertyPermissionCollection
+ * @throws SecurityException - if this PropertyPermissionCollection
* object has been marked readonly
*/
@Override
public void add(Permission permission) {
if (! (permission instanceof PropertyPermission))
< prev index next >