我正在逐步通过这种结构编写一些代码:
try {
doSomething();
} finally {
doAnotherThing();
// more nested try statements down here
}
某个地方正在触发异常,但我不知道它是否在doSomething()。因为doAnotherThing()无论是否触发了异常,代码都会转到,所以什么也没告诉我。
触发异常时,某处是否有视觉指示?(IntelliJ 14.1.7)。
偶然的你
相关分类