docs: @Override
      public void validateParameter(String parameterName, ModelNode value) throws OperationFailedException {
          super.validateParameter(parameterName, value);
          if (value.isDefined() && value.getType() != ModelType.EXPRESSION) {
              int val = value.asInt();
              if (val < min) {
                  throw new OperationFailedException(ControllerLogger.ROOT_LOGGER.invalidMinValue(val, parameterName, min));
              }
              else if (val > max) {
                  throw new OperationFailedException(ControllerLogger.ROOT_LOGGER.invalidMaxValue(val, parameterName, max));
              }
          }
      }