public ArithmeticTree(String expression) throws WrongStructure, IncorrectSymbol, ImpossibleAction {
        try {
            head = fillTree(expression);
        } catch (WrongStructure exception1) {
            throw exception1;
        } catch (IncorrectSymbol exception2) {
            throw exception2;
        } catch (ImpossibleAction exception3) {
            throw exception3;
        }
        counter = 0;
    }