@@ -0,0 +1,720 @@
+package ru.revdaalex.oodocp;%0A%0Aimport ru.revdaalex.oodocp.interfaces.IO;%0A%0A/**%0A * Number validation.%0A * Created by revdaalex on 15.06.2016.%0A */%0Apublic class Validator %7B%0A    private final IO io;%0A%0A    public Validator(IO io) %7B%0A        this.io = io;%0A    %7D%0A%0A    public double getDouble(String message) %7B%0A        boolean check = false;%0A        do %7B%0A            try %7B%0A                System.out.println(message);%0A                return Double.valueOf(this.io.read());%0A            %7D catch (NumberFormatException e) %7B%0A                System.out.println(%22%D0%92%D1%8B %D0%B2%D0%B2%D0%B5%D0%BB%D0%B8 %D0%BD%D0%B5 %D1%86%D0%B5%D0%BB%D0%BE%D0%B5 %D1%87%D0%B8%D1%81%D0%BB%D0%BE%5Cn%D0%9F%D0%BE%D0%BF%D1%80%D0%BE%D0%B1%D1%83%D0%B9%D1%82%D0%B5 %D0%B5%D1%89%D0%B5 %D1%80%D0%B0%D0%B7.%22);%0A                check = true;%0A            %7D%0A        %7D while (check);%0A        throw new UnsupportedOperationException();%0A    %7D%0A%7D%0A

add Validator.java