Manually add exception handling to the TopType methods to ensure only string values that can be converted to booleans are supplied.
向TopType方法中手工添加异常处理代码,保证只能提供可以转化成布尔值的字符串。
When creating your own exception types, you should add the extra two constructors also.
当创建自己的异常类型时,您还应该另外添加两个构造函数。
Easier exception handling - Users are now able to add in their own local exceptions to override the CRS checks without needing to edit the rules themselves.
更简单的异常处理——现在用户可以添加自己的本地异常以覆盖CRS检查而无需编辑规则自身。
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.
如果想要忽略这种异常,可以方便地给该异常添加描述性注释,这样读者就知道您是有意的忽略它,而不是仅仅忘了处理。
Add staff activities for human decision making and exception handling.
添加用于人工决策和异常处理的成员活动。
Add records adds records without throwing an exception.
AddRecords添加记录,没有抛出异常。
Add records with Failure adds several records, but the method throws an exception before finishing, so the CMT is rolled back automatically.
AddRecordswithFailure添加几条记录,但是在完成前方法抛出了异常,所以CMT自动回滚。
If so, the current driver does not add the catch block for any custom exception thrown by the Web service.
如果有,则表明当前驱动器没有为Web服务抛出的自定义异常添加批处理块。
Select the GraphicException class as the exception to add. (See Figure 11 and Figure 12.)
选择graphicexception类作为要添加的异常(参见图11和图12。)
It's important that you catch this exception and add it to the QueryResults, and that you do not stop the execution of the ItemFinder.
重要的是,捕获这个异常并将它添加到QueryResults中,而且并不停止ItemFinder的执行。
Click the add button to choose an exception to add.
点击add按钮来选择一个异常的添加。
Throwing an exception would not help in our case because we would then have to add instanceof checks in hasConsecutiveZeros to ensure that we didn't trigger the exception.
抛出一个异常在本例中帮不了什么忙,因为我们将不得不在hasConsecutiveZeros中添加instanceof 检查语句以确保我们没有触发异常。
For instance, adding elements to a Queue could be done with the add method of Collection, throwing an unchecked exception on failure.
例如,向Queue添加元素可以用Collection的add方法来实现,它在失败时会抛出未检测异常。
The Add Records with Failure menu item in the transaction demo application demonstrates what happens to a transaction when an exception occurs sometime during the operation.
TransactionDemo应用程序中的AddRecordswithFailure菜单项演示了当操作过程中发生异常时事务将如何处理。
The only exception to this structure is when the URL path is /node/add or /node/add/
这种结构惟一的例外是,当URL路径是 /node/add或 /node/add/
Now we'll add a bit of complexity by accessing the stack trace of an exception.
现在,我们将通过访问异常的堆栈跟踪信息来增加一点复杂性。
We'll add some simple logic to make it easier to test the exception behavior.
我们将会添加一些简单的逻辑来简化异常的测试。
To see if an exception is raised in a certain line of code, you can add an assert false statement just after that line.
要查看在某行代码中是否抛出异常,您可以直接在这行代码之后加入assertfalse语句。
For instance, you can add an exception or error name to the throw, catch, and uncaught events.
例如,可以在throw、catch和uncaught事件上添加异常名或错误名。
In this case, you will add an exception to the QueryResults object, instead of adding a result.
在这种情况下,将把exception添加到QueryResults对象中,而不是添加结果。
Instead of throwing an unchecked exception with a call to the add method, you just get false returned by offer .
它不是对调用add方法抛出一个unchecked异常,而只是得到由offer返回的false。
Spring/summer 2011 cannot make exception and designers brought a wide range of floral prints to add a piayful feel to our wardrobe.
这在2011年春夏潮流中也不例外,设计师们给我们也带来了碎花衣服,为衣橱增添了俏皮的感觉。
At that point, the Exception Assistant gives you the chance to add an extra permission, which allows you to restart the debugging session with sufficient permissions to avoid the problem.
此时,异常助手可以为您提供添加额外权限的机会,这样,您就可以具有足够的权限重新启动调试会话,以避免出现问题。
Could not add app to the exception list. If we're running on an OS older than XPSP2 this is normal.
不能在例外列表中添加应用程序。如果你运行的系统早于XP sp2,这是正常的。
India is no exception to this phenomenon, but what is peculiar is that a slight shift of the poverty line can add or eliminate millions of people from the list of poor.
对于这一现象印度也不例外,但是可以确定的是贫困线的小小变化可以导致数百万贫困人口的出入。
If you want to display the message from the exception in the content of the response, add the exception to the messages map as well.
如果您想显示来自响应内容的异常信息,也可以添加异常信息映射。
In this paper, based on the DTS_CPP framework, we add the global type analysis, and improve the control flow graph about the exception path analysis.
本文在DTS_CPP框架基础上,增加了全局类型分析,并完善了控制流图中关于异常路径的分析。
A. If any "auto-rotation" application is installed, add "S2U2" to it's exception list.
如果你的手机有任何“自动旋转”的应用程序被安装,请添加“S2U2”到例外列表。
The only thing I can add is to stay strong and don't feel ashamed to seek help... Like she said we are strong enough to survive anything, depression is no exception.
我唯一需要补充的是要坚强,不要羞于向别人求助……如她所说,我们很坚强能挨过任何事,抑郁也不例外。
The only thing I can add is to stay strong and don't feel ashamed to seek help... Like she said we are strong enough to survive anything, depression is no exception.
我唯一需要补充的是要坚强,不要羞于向别人求助……如她所说,我们很坚强能挨过任何事,抑郁也不例外。
应用推荐