Browse Source

修复多个头的情况下会读取数据为空

2.1.x
Jiaju Zhuang 5 years ago
parent
commit
38e105f382
  1. 2
      src/main/java/com/alibaba/excel/read/metadata/holder/AbstractReadHolder.java

2
src/main/java/com/alibaba/excel/read/metadata/holder/AbstractReadHolder.java

@ -167,7 +167,7 @@ public abstract class AbstractReadHolder extends AbstractHolder implements ReadH
try {
readListenerException.onException(e, analysisContext);
} catch (Exception exception) {
throw new ExcelAnalysisException("Listen error!", exception);
throw new ExcelAnalysisException(exception.getMessage(), exception);
}
}
break;

Loading…
Cancel
Save