慕粉3537498
public class Test2 {public static void main(String[] args){ Test2 tes = new Test2(); try{ tes.test2(); }catch(Exception e){ e.printStackTrace(); } }public void test1()throws DrunkException { throw new DrunkException("喝车别开酒"); }public void test2(){ try{ test1(); }catch(Exception e){ e.printStackTrace(); RuntimeException Exc = new RuntimeException("司机一滴酒,亲人两行泪"); Exc.initCause(e); throw Exc; }}}“public void test1()throws DrunkException { throw new DrunkException("喝车别开酒"); }”这一块报错的