Java异常常用方法

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

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

原文地址:https://www.cnblogs.com/z-y-x/p/10458145.html