java中,抛出异常使用什么关键字

如题所述

第1个回答  2017-05-25
手动抛出异常throw new Exception("异常说明");
第2个回答  2017-05-25
throw//方法体内
,throws//方法声明处
相似回答