src/java.base/share/classes/java/security/PermissionCollection.java
changeset 58242 94bb65cb37d3
parent 57950 4612a3cfb927
child 58659 4113f16d5109
--- a/src/java.base/share/classes/java/security/PermissionCollection.java	Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/security/PermissionCollection.java	Fri Sep 20 11:07:52 2019 +0100
@@ -107,9 +107,9 @@
      *
      * @param permission the Permission object to add.
      *
-     * @exception SecurityException -  if this PermissionCollection object
+     * @throws    SecurityException -  if this PermissionCollection object
      *                                 has been marked readonly
-     * @exception IllegalArgumentException - if this PermissionCollection
+     * @throws    IllegalArgumentException - if this PermissionCollection
      *                object is a homogeneous collection and the permission
      *                is not of the correct type.
      */