void () { String name; try { try { name = ""; throwsMyException(); throwsSomeException(); throwsAnotherException(); } catch (SneakThrowsDoesntCatchCaughtExceptionNested.SomeException e) { } } catch (SneakThrowsDoesntCatchCaughtExceptionNested.AnotherException e) { System.out.println(<error descr="Variable 'name' might not have been initialized">name</error>); } }