@Override
    public void invoke(ExceptionDemoData data, AnalysisContext context) {
        log.info("Parsed a data row: {}", JSON.toJSONString(data));
        if (cachedDataList.size() >= BATCH_COUNT) {
            saveData();
            cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT);
        }
    }
This method will return the header row line by line.

@param headMap The header map containing column index and cell data.
@param context The analysis context.
fastexcel-test/src/test/java/cn/idev/excel/test/demo/read/DemoExceptionListener.java