diff options
Diffstat (limited to 'src/integrationtest/org/apache/poi')
-rw-r--r-- | src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java | 7 |
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; } |