@Override
    protected void validateParameters() throws IllegalArgumentException {
        if(minValue == null) {
            throw new ParameterException("The minimum value is required: -min");
        }
        
        if (maxValue == null) {
            throw new ParameterException("The maximum value is required: -max");
        }
        
        if (amount < 1 || amount > 10000) {
            throw new IllegalArgumentException("The amount must be an integer in the [1,10000] interval.");
        }

        if (minValue < -1000000000 || minValue > 1000000000) {
            throw new IllegalArgumentException("The minimum value must be an integer in the [-1000000000,1000000000] interval.");
        }

        if (maxValue < -1000000000 || maxValue > 1000000000) {
            throw new IllegalArgumentException("The maximum value must be an integer in the [-1000000000,1000000000] interval.");
        }

        if (minValue >= maxValue) {
            throw new IllegalArgumentException("The maximum value must be greater than the minimum value.");
        }
    }