mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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
This commit is contained in:
parent
4308b2e398
commit
23be95a474
@ -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…
x
Reference in New Issue
Block a user