创建一个异常 meaning in Chinese
stei: creating the exception
Examples
- This code will create an exception if there is no
,此代码将创建一个异常。 - The runtime creates an exception information table for each executable
运行库为每个可执行文件创建一个异常信息表。 - When an exception is created , it needs to gather a stack trace describing where it was created
当创建一个异常时,需要收集一个栈跟踪( stack track ) ,这个栈跟踪用于描述异常是在何处创建的。 - Throwing an exception involves creating an instance of an exception - derived class , optionally configuring properties of the exception , and then throwing the object with the
引发异常涉及到创建一个异常派生类的实例,配置异常的属性(可选) ,然后使用 - Note that aside from the fact that the jvm can " spontaneously " create an exception , all of the remaining costs are no different than those incurred during the lifecycle of any other first - class object
注意到除了jvm可以“本能地”创建一个异常外,其余剩下的开销与在任何其他第一级对象的生命周期中所引起的开销没有什么区别。