소스 검색

Ignore a failure during cloning if we exceed file-format limits

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730273 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_3_14_FINAL
Dominik Stadler 8 년 전
부모
커밋
23be95a474
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4
    3
      src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java

+ 4
- 3
src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java 파일 보기

@@ -105,10 +105,11 @@ public abstract class SpreadsheetHandler extends AbstractFileHandler {
}
throw e;
} catch (RuntimeException e) {
if ("Could not find 'internal references' EXTERNALBOOK".equals(e.getMessage())) {
if ("Could not find 'internal references' EXTERNALBOOK".equals(e.getMessage()) ||
"CountryRecord not found".equals(e.getMessage()) ||
"Cannot add more than 65535 shapes".equals(e.getMessage()) ) {
// ignore these here for now
continue;
} else if ("CountryRecord not found".equals(e.getMessage())) {
continue;
}
throw e;
}

Loading…
취소
저장