equal
deleted
inserted
replaced
105 /** |
105 /** |
106 * Adds a permission object to the current collection of permission objects. |
106 * Adds a permission object to the current collection of permission objects. |
107 * |
107 * |
108 * @param permission the Permission object to add. |
108 * @param permission the Permission object to add. |
109 * |
109 * |
110 * @throws SecurityException - if this PermissionCollection object |
110 * @throws SecurityException if this PermissionCollection object |
111 * has been marked readonly |
111 * has been marked readonly |
112 * @throws IllegalArgumentException - if this PermissionCollection |
112 * @throws IllegalArgumentException if this PermissionCollection |
113 * object is a homogeneous collection and the permission |
113 * object is a homogeneous collection and the permission |
114 * is not of the correct type. |
114 * is not of the correct type. |
115 */ |
115 */ |
116 public abstract void add(Permission permission); |
116 public abstract void add(Permission permission); |
117 |
117 |