Java异常常用方法

getLocalizedMessage()方法返回 Exception的本地化描述。

getMessage()方法返回 Exception的详细消息字符串

posted @ 2019-03-01 18:35  Z.Y.X  阅读(308)  评论(0编辑  收藏  举报