package p; import java.util.Arrays; import java.util.List; public class A { void m() { List<Integer> list = Arrays.asList(2, 3, 4, 5); for (Integer integer : list) { try { } catch (Exception e) { } } } }