异常抛出注意点

文章参考  https://blog.csdn.net/sdr_zd/article/details/75675004

如果捕获的是check异常,如果throw,则方法上必须有throws,如果是运行异常则,不需要写throws

posted @ 2018-09-17 13:05  帅LOVE俊  阅读(166)  评论(0编辑  收藏  举报