// merge the permissions
IPermission[] allPerms = new IPermission[perms1.length + perms2.length];
System.arraycopy(perms1,0,allPerms,0,perms1.length);
System.arraycopy(perms2,0,allPerms,perms1.length,perms2.length);
upm.removePermissions(allPerms);
}
catch (Exception e) {
String errMsg = "DeleteGroup::deletePermissions(): Error removing permissions for " + grpMbr;
Utility.logMessage("ERROR", errMsg, e);
throw new Exception(errMsg);