计算机英语方面的一段翻译
来源:百度知道 编辑:UC知道 时间:2024/05/22 18:47:26
Creating your own exceptions
You’re not stuck using the existing Java exceptions. This is important because you’ll often need to create your own exceptions to denote a special error that your library is capable of creating, but which was not foreseen when the Java exception hierarchy was created.
You’re not stuck using the existing Java exceptions. This is important because you’ll often need to create your own exceptions to denote a special error that your library is capable of creating, but which was not foreseen when the Java exception hierarchy was created.
创造您自己的例外 您不是陷进使用现有的Java 例外。这重要因为您经常将需要创造您自己的例外表示一个特别错误您的图书馆是能创造, 但未预见当Java 例外阶层被创造了。
Java应该打错了吧?