checked exception//编译时异常
unchecked exception//运行时异常
异常转型:
try{ }catch(Exception e){ throws new RuntimeException(e);//运行时异常,unchecked exception }
checked exception//编译时异常
unchecked exception//运行时异常
异常转型:
try{ }catch(Exception e){ throws new RuntimeException(e);//运行时异常,unchecked exception }