The command bean is instantiated and a try catch block is used to catch exceptions generated from a duplicate user, an invalid credit card, or an unauthorized credit card.
命令bean被实例化,try catch块被用于捕捉由于重复的用户、无效的信用卡或未经认证的信用卡而产生的异常。
This is not a debugger bug, but it is known issue with try catch block debug information. See the following disassembled code for an example of a try catch block in the debugger.
这并不是调试器的bug,但是这是针对try catch块调试信息的一支问题。
No matter how hard I try I cannot seem to catch up on all the bills.
不管我怎么努力,我好像总也无法付清所有的账单。
"If there are nine rabbits, focus on catching one, don't try to catch them all," he said.
他说:“如果有九只兔子,集中精力抓一只,不要试图把它们全部抓住。”
He stood still stupidly while the boys ran round him, mimicking and laughing; they shouted to him to try and catch them; but he did not move.
他呆呆地站在那儿不动,孩子们围着他跑,一边模仿一边大笑;他们向他喊叫,想让他尝试抓住他们;但他没有动。
When the bear puts his tail into the water through a hole in the ice, to try and catch a fish, the ice freezes around it, and he ends up pulling his tail off.
当熊把尾巴放到了湖面上的冰洞里面去钓鱼的时候,水在熊尾巴周围结冰了。熊使劲儿往外拔它的尾巴,结果把尾巴拔掉了。
What about certain "I just know we'll need this" type stuff (i.e. putting a try/catch{Console.WriteLine(ex);} in your console main() method?)
对于象“我心里清楚我们需要这个”这类东西——我们该如何处理(例如,在控制台main()方法中加上一个try/catch{Console.WriteLine(ex);}?)
But there is a catch: Try running the code below, and it works for some of the cells.
但有一个问题:尝试运行下面的代码,它对某些单元格有效。
On the other hand, try to design your code to avoid a catch-all clause by ensuring it only receives specific items that are expected.
另外一方面,尝试通过设计让你的代码规避这样全盘通吃的条件,保证它只接受指定的意料之中的条目。
Several players at the Sudirman Cup from lower-ranked nations said the Chinese players could not be blamed for raising the bar and that it was up to the rest to try to catch up.
在苏迪曼杯比赛上几个来自低级别国家的选手说,中国运动员不应该因为提高了该项目的门槛就受到批评,而应该是其他人要努力追赶。
To try and maintain their catch, more fishermen use nets with a finer mesh. As more smaller, younger fish get caught, there are even fewer fish than before.
要维持过去的打渔量,更多的渔夫使用细孔网,打捞上更多的小鱼,可是由于小鱼都被捞了,鱼的总量比过去更少了。
Give up high-fat snacks, do 100 sit-ups a day, stand up straight when you catch yourself slouching or try to learn a new skill.
放弃高脂的零食,一天做100个仰卧起坐,当你发现自己懒散或者尝试学一项新技能的时候站直身体。
National Institute of Health's disease hotlines and CDC surveillance will likely be stopped so try not to catch swine flu this weekend.
为了抵制猪流感,全国卫生研究所的疾病咨询热线和疾病预防控制中心监测系统本周有可能中断。
Each fisherman will try to catch as many fish as possible in order to maximize his profits.
为了最大化自身收益,每个渔夫都会尝试捕捞尽可能多的鱼。
Stop trying to squeeze so much in. If you are always running late, falling behind, or trying to catch up, try slowing down.
别再设法挤时间了,如果你总是慢人一步、落在后头,或是总在不停追赶,试试减速吧。
Pelicans try to catch fish with their beaks during lunch time at the Hellabrunn zoo in Munich, Germany.
德国慕尼黑海拉·布伦动物园。鹈鹕在午餐时间用长长的喙捕鱼。
Don't fret over lost time; don't try to catch up with yesterday's unfinished tasks.
不要为逝去的时间而懊悔;不要以为可以弥补昨天未完成的任务。
The first man replies: "Well, for a while I've suspected my wife has been cheating on me, so today I came home early to try to catch her red-handed.
第一个人回答道:“事情是这样的,我一直怀疑妻子有外遇,所以今天提早回家想当场抓奸。
We try to catch up on a year's worth of happenings that the rushed phone calls never quite covered.
我们想把这一年电话中没能表述的内容一下说完。
The police warned that no one should try to approach and catch the rooster because it can be dangerous.
警方警告说任何人都不要试图接近或抓住它,因为它现在是“危险分子”。
To disable exception handling, you need to remove all try and catch blocks from the sources and compiling the code using the /GX- option.
要禁用异常处理,您需要从源代码中删除所有的try和catch块,并使用 /GX-选项编译代码。
This is why I used the try-except block: I can catch my own SQL errors and respond to them if needed.
这就是我使用try - except块的原因:我可以捕捉自己的SQL错误,并根据需要进行响应。
Each CodeException contains the starting and ending bytecode offset for the corresponding try block, so you can easily determine which CodeException objects correspond to a try-catch block.
每个CodeException都包含相应try块的起始和终止的字节码偏移量,这样您可以方便地确定哪一个CodeException对象与try - catch块对应。
Without either of these options, the try and catch code can still execute, and the system does not call the destructors of local objects up to the throw statement.
如果不使用这两个选项,try和catch代码仍然可以执行,并且系统执行到throw语句时才会调用局部对象的析构函数。
Finally, the page USES a try block to catch any unforeseen errors with the error description displayed on the page.
最后,页面使用try块捕获任何不可预见的错误,并在页面上显示错误描述。
A try... catch structure changes the runtime exception behavior to what is specified in the catch clause.
catch结构将运行时异常行为更改为catch子句中所指定的行为。
The Surround with menu lets you easily wrap lines of code you've written with try... catch, for, and while loops.
Surround With菜单使您能够轻松地将使用try…catch、for和while循环编写的代码行打包。
The Surround with menu lets you easily wrap lines of code you've written with try... catch, for, and while loops.
Surround With菜单使您能够轻松地将使用try…catch、for和while循环编写的代码行打包。
应用推荐