1 package test2; 2 3 public class SetExceptions { f()4 public void f() throws Exception { 5 throw new Exception(); 6 } 7 } 8