if (paramStrs.length != typeNames.length) {
      throw new ...
    }