]
Brian Stansberry moved WFLY-9602 to WFCORE-3887:
------------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-3887 (was: WFLY-9602)
Component/s: Management
(was: Management)
Smarter range validation error messages
---------------------------------------
Key: WFCORE-3887
URL:
https://issues.jboss.org/browse/WFCORE-3887
Project: WildFly Core
Issue Type: Enhancement
Components: Management
Reporter: Brian Stansberry
Priority: Minor
A message like this is kind of silly: "Value must be between 0 and
9007199254740991".
Smarter would be the ParameterValidator code that detects the message checking if the
range max is Integer.MAX_INT (for an int) or Long.MAX_LONG (for a long) and if the bad
value is below the max, just saying the equivalent of "Value must be greater than
%d".