摘要:
异常机制及throw与throws的区别分类:Java2008-11-14 16:089672人阅读评论(5)收藏举报exceptionstringjavafunclass编译器Java的异常处理Java的异常处理是通过5个关键字来实现的:try,catch,throw,throws,finally。JB的在线帮助中对这几个关键字是这样解释的: Throws: Lists the exceptions a method could throw. Throw: Transfers control of the method to the exception handler. Try:... 阅读全文
posted @ 2013-08-25 10:20
meimao5211
阅读(234)
评论(0)
推荐(0)

浙公网安备 33010602011771号