docs: private void init(int max) {
          if ((max != INTERNAL) && (max != PROVIDER) && (max != PRIVILEGED))
              throw new IllegalArgumentException("invalid action");
  
          if (max == NONE)
              throw new IllegalArgumentException("missing action");
  
          if (getName() == null)
              throw new NullPointerException("action can't be null");
  
          this.max = max;
      }