Mobile phone champion Nokia, one of Europe's biggest technology success stories, was no exception, losing its market share in just a few years.
作为欧洲在技术方面最成功的传奇之一,手机巨头诺基亚也不例外,仅仅几年时间就失去了市场份额。
Of course, those functions don't have any implementations yet, so calling them will just throw an exception.
当然,那些函数也没有任何实现,所以调用它们将只抛出异常。
These considerations are just part of an overall exception handling and error strategy that must describe how to handle all kinds of exceptional situations, not just timeouts.
这些考虑事项仅仅是整体异常处理和错误战略的一部分,此类战略必须详述如何处理所有类型的异常情况,而不仅仅是超时。
Just about any food with word "berry" in it is extremely healthy, with the primary exception being Cap 'n Crunch's Crunch Berries.
而且几乎所有带“浆果”字样的食物都非常健康,例外的是“嘎吱船长牌”嘎吱浆果。
With the exception of scientific computing and the occasional timing test or benchmark, it just doesn't come up.
除了科学计算和偶尔的计时测试或基准测试程序,其它情况下几乎都用不着它。
If you intend to ignore the exception, it is easy to add a descriptive comment to that effect so readers know that you are deliberately ignoring it, and haven't just forgotten to handle it.
如果想要忽略这种异常,可以方便地给该异常添加描述性注释,这样读者就知道您是有意的忽略它,而不是仅仅忘了处理。
Of course, just throwing out an exception isn't a very robust way to deal with problems.
当然,仅仅抛出异常并不一定是解决问题的最佳方式。
Why - why is this particular exception okay, but the other ones that I just suggested are not okay?
为什么要接纳这个特别的例外,我却不赞成接纳其他的例外?
While remove behaves like the collection interface version, instead of throwing an exception when called with an empty collection, the new poll method just returns null.
remove的行为与Collection接口的版本相似,但是新的poll方法在用空集合调用时不是抛出异常,只是返回null。
Throw in some exception handling, and just by changing the contents of the file1.xml file, the appearance of your program will change.
在一些异常处理中会抛出一些问题,但只要修改file1. xml文件的内容,程序的外观就会有所改变。
Just for your reference, in addition to getting that error in your browser, you will also get the following exception trace in the server's Console view.
给您一些参考资料,除了可能会出现刚才的错误信息之外,您可能还会在服务器的Console视图下出现异常现象。
Instead of throwing an unchecked exception with a call to the add method, you just get false returned by offer .
它不是对调用add方法抛出一个unchecked异常,而只是得到由offer返回的false。
As written, so long as no exception is generated by the code and the ActionForm successfully validates, Struts assumes things worked just fine, and so will the test case.
正如所写的那样,只要代码没有生成异常,ActionForm成功验证,Struts就假定事情工作良好,测试用例也是一样。
A Filter node is used to select only those exception conditions that we want to reprocess after a delay (the others are just sent to a Trace node).
Filter节点用于仅选择希望在延迟后重新进行处理的异常条件(其他条件将直接送到Trace节点)。
The answer is to provide a more useful type of exception that also contains a lower-level exception. Listing 1 shows a simple ApplicationException that does just this
答案是提供一类更有用的异常,它还包含低级异常。
One issue is that it requires XXL (a library that adds support for exception handling and asset management to c), so you do bring in significant libraries just to handle strings.
这种方法的一个问题在于它需要XXL(这是一个给c添加异常处理和资源管理支持的库),因此您实际上要仅为了处理字符串而引入一个重要的库。
Just about every make and model, with the notable exception of Apple's (AAPL) iPhone (a strange omission because Amazon carries both AT&T (T) smartphones and Apple iPods) can be purchased from Amazon.
几乎每一种款式和型号都可以在亚马逊上买到,虽然众所周知它没有苹果(AAPL)的iPhone(iPhone 的缺失很是奇怪,因为亚马逊既卖AT&T(T)的智能手机,也卖苹果的iPod)。
But is its approach replicable or is it just an exception?
但是它的方法是可以复制的还是只是一个例外呢?
However, success or failure in the above example run are defined very weakly: success just means no exception was raised, not that the (redirected) output was correct.
不过,上面运行的例子中对成功或失败的界定很不明显:成功只是意味着没有出现异常,而不表示(重定向的)输出正确。
I usually hit it off very well with my bosses, but this case was the exception that proved my rule of good relationships. We just didn't get on well.
我和我的老板们一直都很投缘,而上次的上司却是我被证实的良好关系规则之外的特例,我们就是相处不好,我也不知道为什么。
We should check the exception type, but here we'll just assume it means that no results were found.
我们应该检查异常类型,但此处我们将假定它意味着没有找到相应结果。
I usually hit it off very well with my bosses, but this case was the exception that proved my rule of good relationships. We just didn't get on well.
我和我的老板们一直都很投缘,而这个上司却是我良好关系规则运行中的特例,我们就是相处不好,我也不知道为什么。
The medical world is only just beginning to understand the role that inflammation plays in the vast majority of diseases and conditions; allergic rhinitis is no exception.
医学界仅仅是从现在开始才了解到炎症在大多数疾病中扮演的重要角色;炎症对过敏性鼻炎的影响也包括在内。
If the username and password match the expected values, this just returns; otherwise, it throws an exception to indicate the error.
如果用户名和密码匹配预期值,那么返回即可;否则,将抛出一个异常表示出错。
This service code is generated in the form of a skeleton implementation, with service methods that just throw an exception.
此服务代码以框架实现的形式生成,其中包含直接引发异常的服务方法。
So far, if a reader thread wanted to read data from a queue that had no data, you just threw an exception and moved on.
目前,如果读线程试图从没有数据的队列读取数据,仅仅会抛出异常并继续执行。
Having just visited a few Shenzhen based factories and talked to various factory owners and operators, I can say with confidence that Foxconn is the exception, not the rule.
我走访了深圳好几家厂商,访问了各种各样的工厂老板和经营负责人,发现富士康不是一个普通的工厂,它是这些工厂中的特例。
The Sunday paper lost just 2.7%. The exception to the rule was the former top newspaper, USA Today, which is mostly distributed in hotels.
《周日报纸》仅仅下降了2.7%,除此之外,前顶级报纸《今日美国》现在大多数由酒店订阅。
The Sunday paper lost just 2.7%. The exception to the rule was the former top newspaper, USA Today, which is mostly distributed in hotels.
《周日报纸》仅仅下降了2.7%,除此之外,前顶级报纸《今日美国》现在大多数由酒店订阅。
应用推荐