public void execute(String message) throws Exception {
        while (true) {
            try {
                this.currency = CurrencySet.getInstance().search(readCurrency(reader, message));
                break;
            } catch (CurrencySet.CurrencyNotFoundException ex) {
                System.out.println(ex.getMessage());
            } catch (CurrencySet.MultipleCurrencyException ex) {
                showCurrencies(ex.getMessage());
            } catch (IOException ex) {
                System.out.println("An exception has been catched.");
            }
        }
    }