aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest/org/apache/poi
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-02-13 21:29:23 +0000
committerDominik Stadler <centic@apache.org>2016-02-13 21:29:23 +0000
commit23be95a4744889226e459b63d2886f60a28b6199 (patch)
tree71337d7d1ea6dc9107c929a242826e2943e54a16 /src/integrationtest/org/apache/poi
parent4308b2e39894448e641bbbf833d9a2d012283872 (diff)
downloadpoi-23be95a4744889226e459b63d2886f60a28b6199.tar.gz
poi-23be95a4744889226e459b63d2886f60a28b6199.zip
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
Diffstat (limited to 'src/integrationtest/org/apache/poi')
-rw-r--r--src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java b/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java
index 243679d03d..49a74d06d1 100644
--- a/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java
+++ b/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;
}