From: Nick Burch Date: Tue, 19 Jan 2010 12:01:13 +0000 (+0000) Subject: Improve unhandled continue record message by saying what it follows X-Git-Tag: REL_3_7_BETA1~129 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=398b457631b0a586a317aeb6f23298f7a9582316;p=poi.git Improve unhandled continue record message by saying what it follows git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900743 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java b/src/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java index be48744ae6..479169a5c2 100644 --- a/src/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java +++ b/src/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java @@ -339,7 +339,7 @@ public final class RecordFactoryInputStream { // outputs a file like this all the same return record; } - throw new RecordFormatException("Unhandled Continue Record"); + throw new RecordFormatException("Unhandled Continue Record followining " + _lastRecord.getClass()); } _lastRecord = record; if (record instanceof DrawingRecord) {