Exception caught ошибка. System.out.println. catch (exception ex). catch exception c++.