Commit 297c76a6 authored by Quxl's avatar Quxl

x

parent b499c6f4
......@@ -436,20 +436,26 @@ public class FileUtil {
writer.append(string).append(System.getProperty("line.separator"));
}
} catch (IOException e) {
throw new FileUtilException(e);
throw new FileUtilException("", e);
} finally {
try {
if(writer != null) {
writer.close();
}
} catch (IOException e) {
e.printStackTrace();
}
try {
if(osw != null) {
osw.close();
}
} catch (IOException e) {
e.printStackTrace();
}
try {
if(fos != null) {
fos.close();
}
} catch (IOException e) {
e.printStackTrace();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment