incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/9] git commit: Improving error message.
Date Thu, 29 Jan 2015 15:15:37 GMT
Improving error message.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/34964637
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/34964637
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/34964637

Branch: refs/heads/master
Commit: 34964637400900d47a49deb80954bfefd5e06389
Parents: 32feb66
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Jan 29 09:40:32 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Jan 29 09:40:32 2015 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/blur/analysis/FieldTypeDefinition.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/34964637/blur-query/src/main/java/org/apache/blur/analysis/FieldTypeDefinition.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/analysis/FieldTypeDefinition.java b/blur-query/src/main/java/org/apache/blur/analysis/FieldTypeDefinition.java
index 11a2819..ce724f5 100644
--- a/blur-query/src/main/java/org/apache/blur/analysis/FieldTypeDefinition.java
+++ b/blur-query/src/main/java/org/apache/blur/analysis/FieldTypeDefinition.java
@@ -247,7 +247,8 @@ public abstract class FieldTypeDefinition {
 
   public void setMultiValueField(boolean multiValueField) {
     if (multiValueField && isSortEnable()) {
-      throw new RuntimeException("Field type [" + getName() + "] can not be sortable and
multi valued.");
+      throw new RuntimeException("Field [" + getFieldName() + "] with type [" + getName()
+          + "] can not be sortable and multi valued.");
     }
     _multiValueField = multiValueField;
   }


Mime
View raw message