code: public void tryToResume() throws IOException {
          if (mJournalFile.exists()) {
              try {
                  readJournal();
                  processJournal();
                  mJournalWriter = new BufferedWriter(new FileWriter(mJournalFile, true),
                          IO_BUFFER_SIZE);
                  if (SimpleDiskLruCache.DEBUG) {
                      CLog.d(SimpleDiskLruCache.LOG_TAG, "open success");
                  }
              } catch (IOException journalIsCorrupt) {
                  journalIsCorrupt.printStackTrace();
                  if (SimpleDiskLruCache.DEBUG) {
                      CLog.d(SimpleDiskLruCache.LOG_TAG, "clear old cache");
                  }
                  clear();
              }
          } else {
  
              if (SimpleDiskLruCache.DEBUG) {
                  CLog.d(SimpleDiskLruCache.LOG_TAG, "create new cache");
              }
  
              // create a new empty cache
              if (mDirectory.exists()) {
                  mDirectory.delete();
              }
              mDirectory.mkdirs();
              rebuildJournal();
          }
      }
docs: try to resume last status when we got off
  
  @throws java.io.IOException