This method of the ExecutionPermission Class creates and returns a new ExecutionPermission object that is a combination of the current permission object and the specified permission object. The new object allows access to exactly those resources allowed by either one of the permission objects that it was constructed from.
public IPermission combine(IPermission other);
Returns the resulting ExecutionPermission object.
other | The ExecutionPermission object to combine with. |
IllegalArgumentException if the specified object to combine with is not an instance of the ExecutionPermission class.