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

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

    this.allowExceptions.clear();

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