You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/03/03 18:08:03 UTC

lucene-solr git commit: fix wrong exception message

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6_0 1e3db6414 -> 41e821458


fix wrong exception message


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/41e82145
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/41e82145
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/41e82145

Branch: refs/heads/branch_6_0
Commit: 41e8214584192cebac7f8e57a09fb23a1303dbee
Parents: 1e3db64
Author: Mike McCandless <mi...@apache.org>
Authored: Thu Mar 3 12:07:01 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Thu Mar 3 12:07:01 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/lucene/index/IndexFormatTooOldException.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/41e82145/lucene/core/src/java/org/apache/lucene/index/IndexFormatTooOldException.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexFormatTooOldException.java b/lucene/core/src/java/org/apache/lucene/index/IndexFormatTooOldException.java
index 0644dd6..2ef250a 100644
--- a/lucene/core/src/java/org/apache/lucene/index/IndexFormatTooOldException.java
+++ b/lucene/core/src/java/org/apache/lucene/index/IndexFormatTooOldException.java
@@ -42,7 +42,7 @@ public class IndexFormatTooOldException extends IOException {
    * @lucene.internal */
   public IndexFormatTooOldException(String resourceDescription, String reason) {
     super("Format version is not supported (resource " + resourceDescription + "): " +
-        reason + ". This version of Lucene only supports indexes created with release 4.0 and later.");
+        reason + ". This version of Lucene only supports indexes created with release 5.0 and later.");
     this.resourceDescription = resourceDescription;
     this.reason = reason;
     this.version = null;
@@ -72,7 +72,7 @@ public class IndexFormatTooOldException extends IOException {
   public IndexFormatTooOldException(String resourceDescription, int version, int minVersion, int maxVersion) {
     super("Format version is not supported (resource " + resourceDescription + "): " +
         version + " (needs to be between " + minVersion + " and " + maxVersion +
-        "). This version of Lucene only supports indexes created with release 4.0 and later.");
+        "). This version of Lucene only supports indexes created with release 5.0 and later.");
     this.resourceDescription = resourceDescription;
     this.version = version;
     this.minVersion = minVersion;