while (bb.remaining() > 0) {
int count;
try {
count = fc.read(bb, fileAddr);
} catch (final IOException ioe) {
throw new PersistitIOException(ioe);
}
if (count < 0) {
final File file = addressToFile(address);
throw new CorruptJournalException(String.format("End of file at %s:%d(%,d)", file, fileAddr, address));
}