Skip to content

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

added debug output for "Object type or Object type combination not supported" bug. See also: http://www.yacy-forum.de/viewtopic.php?p=16306#16306

orbiter785763d070b1
diff --git a/source/de/anomic/kelondro/kelondroAbstractOrder.java b/source/de/anomic/kelondro/kelondroAbstractOrder.java
index 43a158c45..7bd2408ac 100644
--- a/source/de/anomic/kelondro/kelondroAbstractOrder.java
+++ b/source/de/anomic/kelondro/kelondroAbstractOrder.java
@@ -62,7 +62,7 @@ public abstract class kelondroAbstractOrder implements kelondroOrder {
} else if ((a instanceof String) && (b instanceof String)) {
return compare(((String) a).getBytes(), ((String) b).getBytes());
} else
- throw new IllegalArgumentException("Object type or Object type combination not supported");
+ throw new IllegalArgumentException("Object type or Object type combination not supported: a=" + a + ", b=" + b);
}
}