Browse Source

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

developing
Jiaju Zhuang 5 years ago
parent
commit
ddabe77ddc
  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

@ -144,7 +144,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