Improve the error message in case of out of range for operator parameter

Description

If the given value is out of range of the valid interval, specified with the Parameter annotation, the error message should explain the problem better.

The message currently says, for example, "Value for 'Number of neighbours' is out of range (1,*]"
Especially, the syntax for the range should be explained.

( = exluding the value
] = including the value

*= max value (depending on the data type)

 

This has been reported in:

https://forum.step.esa.int/t/knn-error-message/19672

Environment

None

Assignee

Marco Peters

Reporter

Marco Peters

Labels

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure