繁體版 English
登录 注册

checked exception

"checked exception"的翻译和解释

例句与用法

  • Says that after years of using the java language , he has come to the conclusion that checked exceptions were a mistake - an experiment that should be declared a failure
    )的作者,声称在使用java语言多年后,他已经得出这样的结论,认为检查型异常是一个错误一个应该被声明为失败的试验。
  • Most of the advice on the use of exceptions in the java language suggests that checked exceptions should be preferred in any case where an exception conceivably might be caught
    关于在java语言中使用异常的大多数建议都认为,在确信异常可以被捕获的任何情况下,应该优先使用检查型异常。
  • It also ensures that the soap exceptions are softened : they are converted from checked exceptions that must be declared or caught in java code into run - time exceptions that need not be
    它还确保soap异常被软化:即从必须在java代码中声明或捕获的已检查异常转换为不需要这样做的运行时异常。
  • Well , all the urls we ll be using are going to be hard coded , so we ll wrap the creation of the url in some utility code to turn the checked exception into a runtime exception
    我们要使用的所有url都将是硬编码的,因此我们将把url的创建包装在某个工具代码中,以将已检查异常转换为运行时异常。
  • In other words , don t use checked exceptions for conditions from which the caller could not possibly recover , or for which the only foreseeable response would be for the program to exit
    换句话说,对于调用者不可能从其中恢复的情形,或者惟一可以预见的响应将是程序退出,则不要使用检查型异常。
  • This suggestion is encouraged by both the language design in that the compiler forces you to list in the method signature all checked exceptions that might be thrown and in early writings on style and usage
    语言设计(编译器强制您在方法签名中列出可能被抛出的所有检查型异常)以及早期关于样式和用法的著作都支持该建议。
  • Eckel takes a more extreme view , suggesting that all exceptions should be unchecked ; johnson s view is more conservative , but still suggests that the orthodox preference for checked exceptions is excessive
    Eckel提出了一个更为极端的观点,建议所有的异常应该是非检查型的; johnson的观点要保守一些,但是仍然暗示传统的优先选择检查型异常是过分的。
  • Having used exceptions in c , where all exceptions are unchecked , i have found that one of the biggest risks of unchecked exceptions is that they are not self - documenting in the way checked exceptions are
    通过在c + +中使用异常,其中所有的异常都是非检查型的,我已经发现非检查型异常的最大风险之一就是它并没有按照检查型异常采用的方式那样自我文档化。
  • " one of the arguments raised against checked exceptions was that it is too easy for exceptions to be " fumbled " - to catch an exception and neither take corrective action nor throw another exception , as shown in listing 1
    ”中,反对检查型异常的一个论据是: “摸索” (也就是捕获)这种异常太容易了,并且它既不采取修正行为,也不抛出其他异常,如清单1所示。
  • It s worth noting that the architects of c , who almost certainly had plenty of experience using java technology , chose to omit checked exceptions from the language design , making all exceptions unchecked exceptions
    (值得一提的是, c #的设计师在语言设计中选择忽略检查型异常,使得所有异常都是非检查型的,因而几乎可以肯定他们具有丰富的java技术使用经验。
  • 更多例句:  1  2  3  4
用"checked exception"造句  
英语→汉语 汉语→英语