PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352802
13f79535-47bb-0310-9956-
ffa450edef68
throws IOException, HSSFUserException
{
short userCode = 0;
+
+ short sid = 0;
process:
try
{
while (bytesread > 0)
{
- short sid = 0;
sid = LittleEndian.getShort(sidbytes);
if ((rec != null) && (sid != ContinueRecord.sid))
}
catch (IOException e)
{
- throw new RecordFormatException("Error reading bytes");
+ throw new RecordFormatException("Error reading bytes" +
+ "while processing record sid="+sid);
}
return userCode;