code: public void addBadArraySizeError(final int expectedSize, final int actualSize) throws ValidationException
      {
          addError(StringFormatter.format(MessageConstants.MESSAGES.invalidArraySize(), expectedSize, actualSize));
      }
docs: Calls {@link #addError(String)} with a message that indicates
  that an array has the wrong number of elements
  
  @param expectedSize
  @param actualSize
  @throws ValidationException