From bb3d9a55823e45d2950e218c206896a78526a4b1 Mon Sep 17 00:00:00 2001 From: hydrox Date: Sun, 13 Aug 2006 17:18:09 +0000 Subject: [PATCH] *) e.getMessage().indexOf() can only be used if there is actually an ExceptionMessage. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2407 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaCrawlLURL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaCrawlLURL.java b/source/de/anomic/plasma/plasmaCrawlLURL.java index 7d45a2e14..dddc471f5 100644 --- a/source/de/anomic/plasma/plasmaCrawlLURL.java +++ b/source/de/anomic/plasma/plasmaCrawlLURL.java @@ -912,7 +912,7 @@ public final class plasmaCrawlLURL extends indexURL { lastHash = entry.hash(); } } catch (RuntimeException e) { - if (e.getMessage().indexOf("not found in LURL") != -1) { + if (e.getMessage().length() != 0 && e.getMessage().indexOf("not found in LURL") != -1) { serverLog.logWarning("URLDBCLEANER", "urlHash not found in LURL", e); } else {