private static void validatePhone(String phone) throws TechnicalException {
        if (phone == null || phone.isEmpty() || phone.length() > PHONE_SIZE) {
            throw new TechnicalException(PHONE_ERROR_MSG);
        }
        String regex = "\\+375\\-\\d{2}\\-\\d{3}\\-\\d{2}-\\d{2}";
        Pattern p = Pattern.compile(regex);
        Matcher m = p.matcher(phone);
        if (! m.matches()) {
            throw new TechnicalException(PHONE_ERROR_MSG);
        }
    }