Browse Source

Merge pull request #754 from alibaba/2.1.x

2.1.x
bugfix
Jiaju Zhuang 5 years ago committed by GitHub
parent
commit
6e61a43f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/main/java/com/alibaba/excel/read/metadata/holder/AbstractReadHolder.java

4
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;
@ -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