better catch

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3468 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2007-03-10 23:38:08 +00:00
parent 8f7e8b6ee2
commit 432d7d4e9c

View File

@ -674,13 +674,13 @@ public final class plasmaCrawlStacker {
cacheStacksPath.mkdirs();
try {
this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false);
} catch (IOException e) {
} catch (Exception e) {
e.printStackTrace();
// kill DB and try again
kelondroFlexTable.delete(cacheStacksPath, newCacheName);
try {
this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false);
} catch (IOException ee) {
} catch (Exception ee) {
ee.printStackTrace();
System.exit(-1);
}