@Override public void createDirs() throws Exception {
  boolean ok=journalDir.mkdirs();
  if (!ok) {
    throw new IOException("Failed to create directory " + journalDir);
  }
}

@ Override public void createDirs ( ) throws Exception { boolean ok = journalDir . mkdirs ( ) ; if ( ! ok ) { throw new IOException ( "Failed to create directory " + journalDir ) ; } }
create the directory if it doesn ' t exist yet
