We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
重大异常
物理因素等,无法处理
一般异常
不捕获,抛出来,让开发者发现问题
需要捕获异常,属于正常发生的不正常情况
The text was updated successfully, but these errors were encountered:
No branches or pull requests
异常处理-软件工程最值得考量的一部份之一(甚至golang因异常处理方式不够优雅而受人诟病)
各种各样的编程语言,各种各样的错误形式,放在一起以表现形式分类,才能恰到好处:
重大异常
一般异常
综上,处理方式可分为三类,无法处理着重关注;不处理可程序退出让开发者明确;多兜底防止程序退出
The text was updated successfully, but these errors were encountered: