lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r902414 - /lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperException.java
Date Sat, 23 Jan 2010 15:02:52 GMT
Author: markrmiller
Date: Sat Jan 23 15:02:52 2010
New Revision: 902414

URL: http://svn.apache.org/viewvc?rev=902414&view=rev
Log:
improve error reporting when using missing collection

Modified:
    lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperException.java

Modified: lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperException.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperException.java?rev=902414&r1=902413&r2=902414&view=diff
==============================================================================
--- lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperException.java (original)
+++ lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperException.java Sat
Jan 23 15:02:52 2010
@@ -19,12 +19,16 @@
 
 
 import org.apache.solr.common.SolrException;
+import org.apache.solr.common.SolrException.ErrorCode;
 
 public class ZooKeeperException extends SolrException {
 
   public ZooKeeperException(ErrorCode code, String msg, Throwable th) {
     super(code, msg, th);
-
+  }
+  
+  public ZooKeeperException(ErrorCode code, String msg) {
+    super(code, msg);
   }
 
 }



Mime
View raw message