Skip to content

Commit

Permalink
catch of another IOException
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@451 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Jul 28, 2005
1 parent b9cf726 commit f663f26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/de/anomic/yacy/yacySeedDB.java
Expand Up @@ -154,6 +154,9 @@ private synchronized kelondroMap openSeedTable(File seedDBFile) throws IOExcepti
} catch (kelondroException e) {
// if we have an error, we start with a fresh database
if (seedDBFile.exists()) seedDBFile.delete();
} catch (IOException e) {
// if we have an error, we start with a fresh database
if (seedDBFile.exists()) seedDBFile.delete();
}
// create new seed database
new File(seedDBFile.getParent()).mkdir();
Expand Down

0 comments on commit f663f26

Please sign in to comment.