try { foo(); return 123; } catch (IOException e) { error(); }