From b04ec5c8f433289f360846d483b08e13452c1891 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 18 Aug 2015 08:34:24 +0200 Subject: [PATCH] =?utf8?q?Improved=20logging=20message=20with=20sizes=20of?= =?utf8?q?=20entry=20set=20and=20criteria=20matches=20Signed-off-by:Roland?= =?utf8?q?=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java b/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java index d8f0bf6..b4ea760 100644 --- a/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java +++ b/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java @@ -121,7 +121,7 @@ public class SearchCriteria extends BaseCriteria implements SearchableCriteria { matches = (criteraMatches.size() == 1); } else if (this.getLogical() == null) { // Logical instance is null - throw new NullPointerException("logical is not set, but more than one column shall be matched."); //NOI18N + throw new NullPointerException(MessageFormat.format("logical is not set, but more than one column ({0}/{1}) shall be matched.", this.entrySet().size(), criteraMatches.size())); //NOI18N } else { // Now for the final test matches = this.getLogical().matches(this.entrySet(), criteraMatches); -- 2.39.5