Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public string getMessage():返回异常发生时的详细信息 public string toString():返回异常发生时的简要描述 应该是反了。getMessage()是简要描述,toString()是详细信息。
The text was updated successfully, but these errors were encountered:
请问这个是那一篇文章里面的?
java基础知知识->Throwable类常用方法
感谢你!
Successfully merging a pull request may close this issue.
public string getMessage():返回异常发生时的详细信息
public string toString():返回异常发生时的简要描述
应该是反了。getMessage()是简要描述,toString()是详细信息。
The text was updated successfully, but these errors were encountered: