`

这是什么:finally block does not complete normally

阅读更多

      在Eclipse里写了l类似下面的code:

try {
    ...
} catch (Exception e) {
    ...
} finally {
    return;
}
 

       Eclipse给出了warning:finally block does not complete normally,什么原因呢?

      下面的两个web,给出了解释。


      1.finally block does not complete normally - Eclipse

      其中,参看回答者Roland,Mike Schilling的答复


      2.finally块的问题(finally block does not complete normally)

分享到:
评论

相关推荐

    squashfs1.3r3.tar.gz

    This is the default action if dest does not exist, or if no filesystem is on it -keep-as-directory If one source directory is specified, create a root directory containing that directory, ...

    2009 达内Unix学习笔记

    rm –f 文件 只要是该文件或者目录的拥有者,无论是否有权限删除,都可以用这个命令参数强行删除。 rm -rf * 删除所有文件及目录 rmdir 删除空目录。只可以删除空目录。 ln 创建硬链接或软链接,硬链接=同一文件的...

    mysql 断电不能启动

    4. **非正常关机提示**:“Database was not shutdown normally!”,这是非常关键的信息,表明数据库上一次关机是非正常的,可能是由于突然断电等原因导致的。 5. **崩溃恢复流程**: - **崩溃恢复启动**:...

    SCJP 6 question demo

    - **Reversing wait() and notify():** Reversing the order of `obj.wait()` and `obj.notify()` might not cause the method to complete normally because `wait()` must be called within a synchronized block ...

    Universal-USB-Installer

    does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable ...

    LCTF软件备份VariSpec™ Liquid Crystal Tunable Filters

    c) recognizes filters with serial numbers > 60000 (normally VariLC numbers) d) supports binary transfer of >127 bytes Previous release 1.11 Release date September 8, 2003 Known bugs a) implicit ...

    mysql的XA事务恢复过程详解

    mysql数据库开机报错: InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 100224 12:24:20 InnoDB: Database was not shut down normally! ...

    Normally-open-switch.rar_The Open Road

    标题中的"Normally-open-switch.rar_The Open Road"指的是一个与常开开关相关的程序或文档,可能涉及电子工程或自动化控制领域。常开开关,也称为NO(Normally Open)开关,是指在无外力作用时触点处于断开状态的...

    托福词汇汇总

    - 同义词:complete, definite, certain - 示例:The rules are absolute and cannot be changed. - 相关词: - **absolutely adv.**:绝对地、完全地 **14. absorb vt.** - 意义:吸收、接纳 - 同义词:take in, ...

    uhdd.sys源码

    RAMdisk driver for use when resizing or other features are not needed UIDE is a DOS "Universal IDE" caching driver It intercepts "Int 13h" BIOS I O requests and caches data ...

    MySQL数据库innodb启动失败无法重启的解决方法

    "Database was not shutdown normally!"和"InnoDB: Starting crash recovery."表明InnoDB尝试从上次非正常关闭时的状态中恢复。如果日志中出现“checksum mismatch in tablespace”,则表示数据文件可能存在损坏,这...

    squashfs2.2-r2.tar.gz

    files which do not fit fully into a block, are NOT by default packed into fragments. To illustrate this, a 100K file has an initial 64K block and a 36K remainder. This 36K remainder is not packed into...

    微软内部资料-SQL性能优化2

    Assuming the page reference does not result in an access violation, a page fault can be either hard or soft. A hard page fault results in a read from disk, either a page file or memory-mapped file. A...

    issrc-5.3.3.zip_The Front_delphi inno setup

    Compil32 does not do the actual compilation itself it relegates it to ISCmplr.dll. If the ISCmplr project is changed, you normally don t need to recompile Compil32 since it s essentially a text ...

    ORACLE认证考试ocjp题库(覆盖率99%)本人刚考完

    This code does NOT compile unless "obj.wait()" is replaced with "((Thread)obj).wait()". - `((Thread)obj).wait()` 的写法是错误的,因为 `obj` 是 `Object` 类型,而不是 `Thread` 类型。 ### 结论 以上三...

    WizFlow网页编辑

    be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of ...

    hibernate-shards.jar

    be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of ...

    Expert One-on-One J2EE Design and Development

    Take a look: It does not just discuss technology, but stress its practical application. The book is driven from the need to solve common tasks, rather than by the elements of J2EE. It discuss risks ...

    单片机 汇编语言 比较字符串广工报告

    * 修改参数后再进行-G 查询的时候,程序会崩溃无响应,这是电脑系统的问题,无法避免,跳过此步进行下一项实验即可 六、实验课后思考题: 1. 汇编语言的集成环境有几个主要环节?答:汇编语言的集成环境主要有编译...

    完美解决mysql启动后随即关闭的问题(ibdata1文件损坏导致)

    4. 当InnoDB尝试恢复时,它发现数据库没有正常关闭("Database was not shutdown normally!"),并且需要进行崩溃恢复。 5. 日志中提到“Restoring possible half-written data pages”,表明InnoDB正在尝试从双写...

Global site tag (gtag.js) - Google Analytics