public void closeAndDelete ( ) throws JournalException { close ( ) ; if ( ! file . delete ( ) ) if ( file . exists ( ) ) throw new JournalException ( "Cannot delete journal file : " + file . getAbsolutePath ( ) ) ; }
Close and delete the journal file