diff --git a/src/java/org/apache/lucene/search/Query.java b/src/java/org/apache/lucene/search/Query.java index 7255656df20..62443e01b23 100644 --- a/src/java/org/apache/lucene/search/Query.java +++ b/src/java/org/apache/lucene/search/Query.java @@ -172,7 +172,7 @@ public abstract class Query implements java.io.Serializable, Cloneable { try { return (Query)super.clone(); } catch (CloneNotSupportedException e) { - throw new RuntimeException(e); + throw new RuntimeException("Clone not supported: " + e.getMessage()); } } }