]> source.dussan.org Git - poi.git/commitdiff
Add more information to assertion
authorDominik Stadler <centic@apache.org>
Sun, 15 Dec 2019 14:53:59 +0000 (14:53 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 15 Dec 2019 14:53:59 +0000 (14:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871593 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java

index 1ceb552a576adc0690de7f7c7bf783bdf071a884..22615845db9410f561fea835056f77f83cbf789b 100644 (file)
@@ -254,7 +254,7 @@ public class XSSFRow implements Row, Comparable<XSSFRow> {
                 cell.setCellErrorValue(FormulaError._NO_ERROR);
                 break;
             default:
-                throw new AssertionError();
+                throw new AssertionError("Unknown cell-type specified: " + type);
         }
     }