*) 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
This commit is contained in:
hydrox 2006-08-13 17:18:09 +00:00
parent 7a54010a9c
commit bb3d9a5582

View File

@ -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 {