]> source.dussan.org Git - poi.git/commitdiff
Improve unhandled continue record message by saying what it follows
authorNick Burch <nick@apache.org>
Tue, 19 Jan 2010 12:01:13 +0000 (12:01 +0000)
committerNick Burch <nick@apache.org>
Tue, 19 Jan 2010 12:01:13 +0000 (12:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900743 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java

index be48744ae632a32da692a338952f2ecd56d8b40e..479169a5c29140fc31ec2ce1d164f9a61caedc85 100644 (file)
@@ -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) {