关于finally的问题!
我用eclipse写了一段程序,但eclipse给我了一段警告:finally block does not complete normally
try {
// try 块里主要是写读文件,当遇到一些错误时,设置isError标志位,并抛出异常
} catch (
EOFException e) {
e.printStackTrace();
} catch (
IOException e) {
e.printStackTrace();
} catch (
SecurityException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
dis.close();
is.close();
alermSchedule.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();