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
This commit is contained in:
Nick Burch 2010-01-19 12:01:13 +00:00
parent 64ee32ec12
commit 3b7ac92989

View 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) {