kward 2002/06/10 18:24:04
Modified: java/scratchpad/src/org/apache/xindice/server/rpc/messages
GetDocumentCount.java
Log:
Modified missing parameter exceptions
Revision Changes Path
1.3 +2 -2
xml-xindice/java/scratchpad/src/org/apache/xindice/server/rpc/messages/GetDocumentCount.java
Index: GetDocumentCount.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/server/rpc/messages/GetDocumentCount.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- GetDocumentCount.java 10 Jun 2002 02:06:43 -0000 1.2
+++ GetDocumentCount.java 11 Jun 2002 01:24:04 -0000 1.3
@@ -76,7 +76,7 @@
public Hashtable execute(Hashtable message) throws Exception {
if(!message.containsKey(COLLECTION)) {
- throw new Exception("Collection parameter not specified");
+ throw new Exception(MISSING_COLLECTION_PARAM);
}
Collection col = getCollection( (String) message.get(COLLECTION) );