From 921259fd363a830d9402562ab3967d4f84d86cc6 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 15 Dec 2019 14:53:59 +0000 Subject: [PATCH] Add more information to assertion 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java index 1ceb552a57..22615845db 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java @@ -254,7 +254,7 @@ public class XSSFRow implements Row, Comparable { cell.setCellErrorValue(FormulaError._NO_ERROR); break; default: - throw new AssertionError(); + throw new AssertionError("Unknown cell-type specified: " + type); } }