protected Slice readNext(FileSystemWAL.FileSystemWALReader reader){
  try {
    return reader.next();
  }
 catch (  IOException ex) {
    try {
      reader.close();
    }
 catch (    IOException ioe) {
    }
    return null;
  }
}

protected Slice readNext ( FileSystemWAL . FileSystemWALReader reader ) { try { return reader . next ( ) ; } catch ( IOException ex ) { try { reader . close ( ) ; } catch ( IOException ioe ) { } return null ; } }
helper method that catches ioexception while reading from wal to check if an entry was saved completely or not .
