You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ma...@apache.org on 2010/01/23 16:02:52 UTC

svn commit: r902414 - /lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperException.java

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);
   }
 
 }