From 5773654bfe93263e5ee51a096c6ff3598a5dbbf2 Mon Sep 17 00:00:00 2001 From: Dirk Stenger Date: Fri, 6 Jul 2018 16:59:05 +0200 Subject: [PATCH] Extend error message (#8) --- .../opengis/cite/wfs30/collections/GetFeaturesOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opengis/cite/wfs30/collections/GetFeaturesOperation.java b/src/main/java/org/opengis/cite/wfs30/collections/GetFeaturesOperation.java index 11e5ad7a..afa87d04 100644 --- a/src/main/java/org/opengis/cite/wfs30/collections/GetFeaturesOperation.java +++ b/src/main/java/org/opengis/cite/wfs30/collections/GetFeaturesOperation.java @@ -476,7 +476,7 @@ public void boundingBoxParameter( Map collection ) { assertNotNull( bbox, "Required bbox parameter for collections item with name '" + collectionName + "' in OpenAPI document is missing" ); - String msg = "Expected property '%s' with value '%s' but was '%s'"; + String msg = "Expected property '%s' with value '%s' for collections item with name '" + collectionName + "' but was '%s'."; assertEquals( bbox.getName(), "bbox", String.format( msg, "name", "bbox", bbox.getName() ) ); assertEquals( bbox.getIn(), "query", String.format( msg, "in", "query", bbox.getIn() ) );