注释:必要的异常处理逻辑已经排除在这篇文章中的大多数样例代码,这主要是为了代码更清晰。
Note: The necessary exception handling logic has been excluded for clarity in most of the code examples in this article.
在这份文章系列的所有示例中,为了保持简洁,我排除了异常处理逻辑。
In all the examples in this article series, I've excluded exception-processing logic to aid clarity.
这篇文章反响热烈,一些开发人员认为这类设计问题不只限于多线程,在“安全锁”和“安全异常”之间也存在不同之处。
A number of developers responded by noting that this kind of design problem is not unique to multi-threading and that there is a difference between "lock safety" and "exception safety."
最后,别忘了还有《洋葱》网出版的在线杂志《视听俱乐部》(A.V. Club),据一些严肃的艺术爱好者声称,这份杂志不仅艺术报道做得异常出色,而且就连在文章后面闪耀着智慧光芒的用户评论中都能找到不少真知灼见哦!
Meanwhile, as any serious lover of the arts will tell you, the publication's online A.V. Club features exceptionally good arts reporting (as well as a trove of erudite user comments).
在这篇文章中,学习了不同的类装入异常,从最基本的错误到一些更神秘的错误。
In this article, you learned about the various class loading exceptions, from the most basic errors to some more cryptic ones.
在本系列的下一篇技巧文章中,我们将研究验证的另一方面:异常处理。
In the next tip in this series, we'll examine the other side of validation: exception handling.
本文是系列中四篇文章的第二篇,它考察了一般在运行应用程序时抛出的各种类装入异常。
This article, the second in a series of four, looks at the various class loading exceptions typically thrown when running applications.
系列中剩下的三篇文章将侧重于解决类装入异常,并演示一些可能会碰到的更复杂的类装入问题。
The next three articles in this series will focus on resolving class loading exceptions and illustrate some of the trickier class loading problems that you may encounter.
在本系列先前的技巧文章中,异常处理不属于讨论的核心范围之内。
In previous tips in this series, exception handling has been peripheral to our core discussion.
在前一篇文章中,谈到了会导致异常结果的线程代码。
In my previous article, I talked about threaded code that did unusual and unexpected things.
在这篇技巧文章中,我们将讨论两种技术,它们将有助于您创建信息更丰富、更具体的异常,而不会生成大量不必要的代码。
In this tip, we'll discuss two techniques that will help you create more informative, less generalized exceptions, without generating a lot of unnecessary code.
本系列的下一期文章将会涵盖更高级的主题,比如元类语法、a BC、修饰符、integerliteral支持、基类型和异常。
The next installment in this series will cover more advanced topics, such as metaclass syntax, ABCs, decorators, integer literal support, base types, and exceptions.
文章描述了一个基于相关特征矩阵和神经网络的异常检测方法。
This article presents an anomaly detection method based on correlation eigen matrix and neural network.
文章最后给出了实际测试的结果和几种发动机异常诊断的方法。
Some test results and the anomaly diagnosis methods are also presented.
文章通过一个地面磁测勘查项目,探讨了地磁异常二维反演的方法与步骤,介绍了一个实例的应用效果。
This paper, based on a surface magnetic survey project, discussed the method and steps of two-dimension reversion of geomagnetic anomaly, introduced the applied results by an example.
文章还对资料及异常的可靠性作了分析。
At last the data and the abnormal reliability were also analysed in this paper.
渗流观测资料的分析方法很多,文章总结常用的几种定性分析方法,分析了大坝渗流异常的不同表现形式。
There are several ways in data analysis, this article sums up some ways of qualitative analysis, and describes the different represent when the dam seepage is out of the way.
这篇文章回顾了已知的和怀疑的造成死胎的原因,包括遗传学的异常,感染,胎儿-母亲出血和母亲的医疗条件不同。
This paper reviews known and suspected causes of stillbirth including genetic abnormalities, infection, fetal-maternal hemorrhage, and a variety of medical conditions in the mother.
文章对缴费开机流程进行研究,剖析各个节点的故障可能及影响范围,以此为切入点提出利用流程片段恢复开机异常延迟的解决方案。
By doing some researches on the process and the key steps, this paper puts forward a method based on process segment to handle the problem.
当这个状况发生时,你的讨论区变会出现一些异常的情形。最常见到的就是某个主题或文章的连结变成不存在。
When this happens, your forum may start behaving in a strange way. Links to topics or posts that don't exist are common symptoms of this problem.
文章认为在船尾型线设计中若不考虑横剖线的UV度、各水线去流角大小等对船体振动的不利影响,很可能会导致艉部水流异常;
This paper posits that the flow at stern will be unusual if designing stern lines without considering of U or V of body lines and exit angle of water lines;
本组病例当中CT图象诊断正常者150例(34.6%),异常者270例(62.2%)。文章简短描述了颅脑和眼睛的正常和异常图象所见。
In this series, there were 150 (34.6%) normal and 270 (62.2%) abnormal cases diagnosed by CT Both the normal and abnormal patterns of the brain and eyes are briefly described.
虽然文章重点讨论了重要的人体研究,但对关于胰高糖素在正常和异常血糖调节中重要性的重要动物研究也进行了描述。
Although key human studies are emphasized, salient animal studies highlighting the importance of glucagon in normal and defective glucoregulation are also described.
文章将该方法应用于异常检测,实验结果证明该方法具有较好的检测性能。
The text applies this method into The experiment proves this method has good performance.
你今天的想象力会是超速运转的。如果你是个作家,这将会是一个充满灵感的一天,它能让你创造出异常美妙的文章。
Your imagination could be in overdrive today, and if you're a writer, this will be a spectacular day to create fabulous prose.
你今天的想象力会是超速运转的。如果你是个作家,这将会是一个充满灵感的一天,它能让你创造出异常美妙的文章。
Your imagination could be in overdrive today, and if you're a writer, this will be a spectacular day to create fabulous prose.
应用推荐