• 只有可以合理地预期调用者可以处理异常DAO接口中的方法应该抛出检查过异常

    Methods in the DAO interface should throw checked exceptions only if the caller can reasonably be expected to handle the exception.

    youdao

  • 使用函数抛出一个异常显示用户

    When using this function an exception will be thrown and displayed to the user.

    youdao

  • 四个方法顺利运行而没有抛出异常时测试客户机进行的测试完成了。

    When all four methods run without throwing exceptions, then testing with the test client is complete.

    youdao

  • 如果不能获得服务,就会重新抛出试图获取服务收到异常

    If it cannot acquire the service, it re-throws the exception it received during its attempt to acquire the service.

    youdao

  • 通常至于选择何种方法,取决于是否抛出异常时合理地处理异常

    Normally, the choice depends on whether you can plausibly handle the exception at the point where it's thrown.

    youdao

  • 调试编译抛出一个异常但是发布编译可能无警告地泄漏内存

    For debug builds it throws an exception, but for release builds it may silently leak memory.

    youdao

  • 转换过程中,参数可以被忽略最好还是定义一个合适名称(以备异常抛出正确提示)。

    The name of the parameter doesn't matter, because it is ignored during transformation, but it is better to select a name that properly identifies it as an exception being thrown.

    youdao

  • 如果存储库支持通配符,那么遇到通配符LIKE操作符应该抛出异常

    In the case that wildcards are not supported by your repository, you will throw an exception when you encounter a wildcard with a LIKE operator.

    youdao

  • 这个方法返回HTTP响应中的内容字符串失败抛出定制异常

    The method returns a string of content from the HTTP response and throws a custom exception in the case of a failure.

    youdao

  • 清单3中的代码,在方法结束总是抛出异常所以强制回滚

    In the code in Listing 3, there's an exception that is always thrown at the end of the method, thereby forcing a rollback.

    youdao

  • NotSupportedException由于对应属性来标示他是否支持导致执行一个方法失败,就会抛出这个异常

    NotSupportedException: Throw this exception when a type does not implement a method for which there is a corresponding property indicating whether or not the method in question is supported.

    youdao

  • 否则容器提交CMPbean事务抛出异常发生数据完整性问题

    Otherwise, exceptions will be thrown when the container commits the CMP bean's transaction, or data integrity problems will occur.

    youdao

  • Session包含读(级别1)(级别2)方法;使用底层仓库支持功能抛出异常

    Sessioncontains method for both reading (level 1) and writing (level 2); using functionality not supported by the underlying repository will thrown an exception.

    youdao

  • 文件将包含运行Eclipse可能抛出所有错误异常

    This file contains all the errors or exceptions that might have been thrown while running Eclipse.

    youdao

  • 容易忘记使用资源代码抛出已检查异常使用finally

    It's also easy to forget to use finally when the code that USES the resource doesn't throw checked exceptions.

    youdao

  • 现在可以pop方法编写行为确保逻辑上为空抛出一个异常

    Now I can code the behavior for the pop method, which ensures that if the stack is logically empty, an exception will be thrown.

    youdao

  • 如果只想在遇到未定义的情况时抛出异常,那么就没必要使用落后的 (object,object) 模式 x_with_y()进行初始化。

    The initialization of x_with_y() with a fallback (object,object) pattern is not necessary if you simply want undefined cases to raise an exception.

    youdao

  • 使用SQLprovider垃圾回收线程抛出异常

    An exception is thrown on the garbage collection thread when you use SQL providers.

    youdao

  • 需要管理这样异常每当选的存在抛出异常

    You need to manage the exception that is thrown whenever the chosen library is not present. The example, then, has to be updated.

    youdao

  • 应用程序试图通过字符串名称使用以下三种方法装入类,但却找不到指定名称的类定义抛出异常

    Thrown when an application tries to load in a class through its string name using

    youdao

  • 捕获到一个异常,你甚至知道这个异常是从哪个地方抛出

    By the time you catch an exception, you have no record of where the exception was thrown.

    youdao

  • 决定抛出何种类型异常应该总是首先考虑将要处理报告异常

    When determining what type of exception to throw, you should always first consider the tier that will handle the reported exception.

    youdao

  • 为了看到使用正确映射时抛出异常,需要选择厂商软件创建一个数据库然后根据上面描述的把当前后端ID设置为不正确的

    To see exceptions generated by using the improper mapping, create a database in the vender software of your choice, then set the current backend ID value as instructed above to the incorrect value.

    youdao

  • 组件抛出应用出错他们可以组件边界通过适当接口记录异常然后再抛出异常

    When components throw application errors, they could log the exception at the appropriate interface within the component boundaries and then throw the exceptions.

    youdao

  • 本文首先讨论了当服务器抛出不同异常客户端的预期行为然后强调已检查异常使用

    This article first discusses the expected behaviour on the client when the server throws various exceptions, and then emphasizes the use of checked exceptions.

    youdao

  • 断言失败抛出一个异常

    When an assertion fails, an exception is thrown.

    youdao

  • 一般情况下DOM实现必须检验操作正确性应用程序传递错误参数或者执行非法操作抛出异常

    Normally, a DOM implementation must verify the correctness of operations and throw an exception if an application passes the wrong parameters or performs an illegal operation.

    youdao

  • 没有匹配构造函数抛出运行异常

    Throw an exception at run time when there is no matching constructor.

    youdao

  • 必要该类可以公开方法抛出任何异常

    The class may throw any exceptions in the exposed methods, as necessary.

    youdao

  • 虽然我们不想创建无法预期抛出运行异常程序,但这种情况还是会发生——尤其是第一运行复杂程序

    While we don't like to create programs that throw runtime exceptions at unexpected times, it happensespecially when running complex programs for the first time.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定