请问用Add throws declaration 和 surround with try/catch 有什么区别?
throws将异常抛出到java虚拟机,不作处理;try/catch捕获异常并处理,