阅读背景:

在捕获应用程序停止异常时,我应该使用System.exit(1)吗?

来源:互联网 

Say I have the following code:

说我有以下代码:

try {
    //Do something with File
} catch (FileNotFoundException e) {
    outputInfo("Error in IO Redirection", true);
    e.printStackTrace();
    System.exit(1);
}
try



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: