nothrow void foo() { bar(4); } void bar(int a) { if (a ==1) throw new Exception1(); else if (a == 2) throw new Exception2();
baz(); } void baz() { if (whatever) throw new Exception3(); } The compiler will complain that bar(int) isn't nothrow.What's the best way to find out which Exceptions aren't handled inside of foo() for foo to be able to be nothrow without using a 'catch (Exception){}' catch-all?