// no data available
return false;
} catch (EOFException e) {
// EOFException is thrown when the underlying data stream is truncated, e.g. truncated file.
// This is considered as a normal case.
throw new CodecPrematureEOFException("Truncated .SSF file detected.");
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
}
return true;
}