@Override
    public List<ValidateException> validate(String parameter) {
        List<ValidateException> validateExceptionList = new LinkedList<>();

        if ((!parameter.equals("yes")) && (!parameter.equals("no"))) {
            String exMsg = "entered wrong confirm value";
            validateExceptionList.add(new ValidateException(String.format("You %s!", exMsg)));
            logger.warn("User {}={}. User must use only \"yes\" or \"no\"", exMsg, parameter);
        }

        return validateExceptionList;
    }