code: protected void assertArgCount(Object[] args, int count) {
          if (args.length != count) {
              throw illegalArgumentException(String.format(
                      "Wrong number of arguments, expected %d got %d", 
                      count, args.length));
          }
      }
docs: Throws a ProcError exception if {@code args.length != count}
  @param args
  @param count