异常
try{
}catch(Exception e2){
e.printStackTrace();
throw new RuntimeException();
}catch(Exception e1){
e2 是e1的子类或者同级
}
try-catch异常抛出原则
最新推荐文章于 2023-10-22 00:54:15 发布
异常
try{
}catch(Exception e2){
e.printStackTrace();
throw new RuntimeException();
}catch(Exception e1){
e2 是e1的子类或者同级
}