Java 处理异常

Java中 ,catch块和 finally块中都有可能发生异常,这时候就需要 用throw 抛出异常
 
 

 
类似于 C#里方法体中的 throw;
原文地址:https://www.cnblogs.com/schangxiang/p/11146454.html