From 432d7d4e9ceb812c06a5bf3c5c6eb71a3071a3e7 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 10 Mar 2007 23:38:08 +0000 Subject: [PATCH] better catch git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3468 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaCrawlStacker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/plasma/plasmaCrawlStacker.java b/source/de/anomic/plasma/plasmaCrawlStacker.java index 86d966c59..d95d986b4 100644 --- a/source/de/anomic/plasma/plasmaCrawlStacker.java +++ b/source/de/anomic/plasma/plasmaCrawlStacker.java @@ -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); }