For any other exceptions, the code just dumps the error message to the screen.
对于其他异常,这段代码只是在屏幕上显示错误消息。
That's not to say exceptions don't occur; they just don't have to be handled at compile time, per se.
本质上,这并不是说不会出现异常;只是不必在编译时处理它们。
In most countries, people agree that it’s just plain tough to beoverweight, whether you’re male or female, but there were a couple ofstriking exceptions.
在大多数国家,无论男女都承认超重实在令人不快,不过,也有几个突出的例外。
Sure, there are some exceptions like affiliate and product websites where you're just sending super-targeted traffic to the landing page.
当然有些例外,比如一些产品官网,需要的就是大量的目标明确的点击。
Note that all of this is in the same VM; there's no remote calls, no mandatory exceptions, no arguments are being serialised; it's just one POJO talking to another POJO.
注意这些都是在同一个VM中发生的;没有远程调用,没有强制异常,没有参数被序列化;只是一个POJO与另一个POJO对话。
Now, just to put things in context, let me say that everyone I have encountered during my travels up to this point has been unfailingly friendly and helpful. But there are exceptions to every rule.
源源本本说来的话,我旅途中遇到的每个人总是很友好,很乐于助人,但是每件事情都有例外。
OK, you've actually seen exceptions a lot, you just didn't know that's what they were, because exceptions show up everywhere in Python. Let me give you a couple of examples.
好的,你们实际以及看过很多异常了,你就是不知道这些是什么,因为异常在Python中随处可见,我给你举些例子。
"There are just a few big exceptions like Angola, Libya and Algeria," Brautigam says.
布劳提根说,“只有少数的例外,例如安哥拉、利比亚和阿尔及利亚。”
That is not to say that some rules, like formatting rules, are not important, just that they should be weighed in comparison to other issues, such as null Pointers or mishandled exceptions.
这并不是说某些规则(如格式设置规则)不重要,而是应该将它们与其他问题进行比较权衡,例如空指针或处理不当的异常。
If checked exceptions caused an automatic rollback, the entire book order would be rolled back just because the E-mail server was down.
如果受控异常引起自动回滚,整个图书订单就会由于电子邮件服务器的关闭全部回滚。
This isn't just an issue for me, it is a passion and a cause, and it is a fight I will continue until every single American is insured — no exceptions, no excuses.
这不仅仅是我的问题,这是激情,是事业,是我要继续奋斗的,为了让每个美国人,没有例外,没有借口的每个美国人都投保的斗争!
This isn't just an issue for me, it is a passion and a cause, and it is a fight I will continue until every single American is insured--no exceptions, no excuses。
这不仅仅是我的问题,这是激情,是事业,是我要继续奋斗的,为了让每个美国人,没有例外,没有借口的每个美国人都投保的斗争!
Thankfully, Scala treats exception handling as just another pattern match, allowing us to make smart choices when presented with a multiplicity of potential exceptions. Let's see this in action.
感谢scala实际上把异常处理作为了另外一种模式匹配,允许我们在遇到多样化的异常时能做出更聪明的决定。
Treats: Give yourself a treat for every risk you take, and two treats just because you're you. No exceptions. No excuses.
礼物:对每一个冒险一个奖赏;因为你还是你所以给两个奖赏。没有例外。没有借口。
Shanghai World Expo 2010 is arguably the most video-wall–dense environment on the planet. With few exceptions, just about every single pavilion features video displays.
上海世博会可以说是目前全球多媒体墙面最泛滥的地方,除了少数场馆外,几乎每一个场馆都被无处不在的影像所包围。
Did you know you can associate metadata with CSV data rows, like expected exceptions? Just add a column with a header like "[ExpectedException]", "[Description]", or some other metadata.
你可能还不知道,在CSV的数据行中可以关联元数据,只要添加一列并在该列的第一行写上[expectedexception]、[Description]或者其他的元数据就行了。
Exceptions to the "push button" rule are the Duel 2 speeds where you turn the handle away from you to use high gear and then just turn the handle towards you to engage low gear.
例外的“按钮”的规则是决斗2的速度在你转身离开你的手柄使用高挡,然后只需转动把手朝你从事低档。
You have to make specific choices about what exceptions to catch, or just go through them all until your exception is caught.
你必须要抓住什么异常的特定选择,或只是通过他们直到你捕获异常。
The China's approach is the "non interference" just like the United Federation of Plants in Star Trek. It has no exceptions.
就像美国电影里的联邦工厂一样,中国总是用“互不干扰”的老套路。
And these players definitely are not exceptions to the rule: the average age of professional hockey players is now 28, up from 25 just a decade ago.
而这些运动员也绝对不是特例:职业曲棍球球员现在的平均年龄是二十八岁,比十年前的二十五岁来得高。
And these players definitely are not exceptions to the rule: the average age of professional hockey players is now 28, up from 25 just a decade ago.
而这些运动员也绝对不是特例:职业曲棍球球员现在的平均年龄是二十八岁,比十年前的二十五岁来得高。
应用推荐