Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) more verbose exception

theliad248d61caec
diff --git a/source/de/anomic/plasma/plasmaCrawlStacker.java b/source/de/anomic/plasma/plasmaCrawlStacker.java
index 0ff26505a..8bd8c540f 100644
--- a/source/de/anomic/plasma/plasmaCrawlStacker.java
+++ b/source/de/anomic/plasma/plasmaCrawlStacker.java
@@ -498,8 +498,8 @@ public final class plasmaCrawlStacker {
}
public stackCrawlMessage(String urlHash, kelondroRow.Entry entry) {
- if (urlHash == null) throw new NullPointerException();
- if (entry == null) throw new NullPointerException();
+ if (urlHash == null) throw new NullPointerException("Url hash was null");
+ if (entry == null) throw new NullPointerException("kelondroRow.Entry was null");
try {
this.urlHash = urlHash;