public void setDenyExceptions(List<RangerPolicyItem> denyExceptions) {
    if (this.denyExceptions == null) {
      this.denyExceptions = new ArrayList<>();
    }

    if (this.denyExceptions == denyExceptions) {
      return;
    }

    this.denyExceptions.clear();

    if (denyExceptions != null) {
      this.denyExceptions.addAll(denyExceptions);
    }
  }
@param denyExceptions the denyExceptions to set
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ranger/RangerPolicy.java