poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1730273 - /poi/trunk/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java
Date Sat, 13 Feb 2016 21:29:23 GMT
Author: centic
Date: Sat Feb 13 21:29:23 2016
New Revision: 1730273

URL: http://svn.apache.org/viewvc?rev=1730273&view=rev
Log:
Ignore a failure during cloning if we exceed file-format limits

Modified:
    poi/trunk/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java

Modified: poi/trunk/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java?rev=1730273&r1=1730272&r2=1730273&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java (original)
+++ poi/trunk/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java Sat Feb 13
21:29:23 2016
@@ -105,10 +105,11 @@ public abstract class SpreadsheetHandler
 	            }
 	            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;
 	        }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message