docs: public static void checkDivisibleDataLength(String parameterName,
              int dataLength, int expectedComponents) {
          if (dataLength == 0 || dataLength % expectedComponents != 0) {
              throw Exceptions
                      .IllegalArgument(
                              "The input array of %s should be an array of %d-component elements whose length is non-zero and divisible by %d. But current data length is %d.",
                              parameterName, expectedComponents,
                              expectedComponents, dataLength);
          }
      }