• If yes, what checked exceptions will be thrown?

    如果是的话抛出何种检查过异常

    youdao

  • Reporter: C# doesn't have checked exceptions.

    记者:C#没有受控异常

    youdao

  • The difference is that in Groovy there are no checked exceptions.

    区别在于,Groovy没有已检测的异常。

    youdao

  • Will methods in the DAO's public interface throw checked exceptions?

    DAO公共接口中的方法是否抛出检查过异常

    youdao

  • One problem with checked exceptions is that sometimes you simply aren't allowed to throw them.

    checked异常一个问题有时候允许抛出这样的异常。

    youdao

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

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

    youdao

  • I know you've written some about checked exceptions too, and you tend to agree with our line of thinking.

    知道写了一些关于受控异常资料,你应该 会同意的看法。

    youdao

  • The code in Listing 2 ignores several possible types of checked exceptions thrown by the various reflection methods.

    清单2中的代码忽略了不同反射方法抛出多种可能选中例外类型

    youdao

  • Checked exceptions inherit from exception class and are used to handle recoverable errors such as business error scenarios.

    已检查异常继承exception用于处理可恢复性出错诸如业务出错场景。

    youdao

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

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

    youdao

  • If checked exceptions caused an automatic rollback, the entire book order would be rolled back just because the E-mail server was down.

    如果受控异常引起自动整个图书订单由于电子邮件服务器的关闭全部回

    youdao

  • Unlike RMI, these services don't have checked exceptions (though clearly, if a communication error occurs, a RuntimeException will be thrown).

    不像RMI那样这些服务无需checked exception(很明显如果发生通信错误抛出RuntimeException)。

    youdao

  • The ServiceLocator can also translate the checked exceptions (that get thrown during lookup or creation of the bean) into unchecked exceptions.

    ServiceLocator可以检查异常(Bean查找创建过程中引发的异常)转换为未经检查的异常。

    youdao

  • First of all, not all checked exceptions are bad; they might be used for event notification or to redirect processing based on certain conditions.

    首先不是所有受控异常都是不好的;它们用于事件通知根据某些条件定向处理

    youdao

  • Because checked exceptions are part of a method's signature, you can't add one to an overriding variant any more than you can change its return type.

    因为checked异常方法签名一部分,在覆盖方法时,不能增加checked异常,不能改变return类型一样。

    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

  • For the method call instructions, you use Bytecode Engineering Library (BCEL) classes to extract the types of checked exceptions the method is declared to throw.

    对于方法调用指令可以使用BytecodeEngineeringLibrary (BCEL)提取方法声明抛出已检查异常类型

    youdao

  • Using introduction, aspects can add new methods and variables to a class, declare that a class implements an interface, or convert checked to unchecked exceptions.

    使用引入(Introduction),Aspect可以中添加新的方法变量声明个类实现一个接口检查异常转换为未检查异常(unchecked exception)。

    youdao

  • It has an awkward static method factory-based API instead of an object-oriented one, and you are forced to catch checked exceptions that may never need to be caught.

    MessageDiges t类一个笨拙的基于工厂的静态方法api它不是面向对象并且被迫捕获那些永远都不必捕获Checked Exceptions

    youdao

  • A good programming practice often involves explicitly defining checked user exceptions as part of the interface contract.

    良好编程实践通常包括显式地定义已检查用户异常作为接口契约的一部分

    youdao

  • A good programming practice often involves explicitly defining checked user exceptions as part of the interface contract.

    良好编程实践通常包括显式地定义已检查用户异常作为接口契约的一部分

    youdao

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

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

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