Skip to content
Snippets Groups Projects
Commit 162f5c69 authored by vkovtun's avatar vkovtun
Browse files

SSDM-11462 Changed the message of the exception.

parent ffc929ac
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,8 @@ public class SortAndPage {
if (subFo.getSortBy() != null && subFo.getSortBy().getSortings() != null &&
!subFo.getSortBy().getSortings().isEmpty())
{
throw new IllegalArgumentException("Only collection and map types can be sorted.");
throw new IllegalArgumentException("Nested sort options can be used only "
+ "for sorting nested collection or map types.");
}
Collection newValue = sortAndPage(Collections.singleton(value), c, subFo);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment