Commit 297c76a6 authored by Quxl's avatar Quxl

x

parent b499c6f4
...@@ -436,20 +436,26 @@ public class FileUtil { ...@@ -436,20 +436,26 @@ public class FileUtil {
writer.append(string).append(System.getProperty("line.separator")); writer.append(string).append(System.getProperty("line.separator"));
} }
} catch (IOException e) { } catch (IOException e) {
throw new FileUtilException(e); throw new FileUtilException("", e);
} finally { } finally {
try { try {
if(writer != null) {
writer.close(); writer.close();
}
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
try { try {
if(osw != null) {
osw.close(); osw.close();
}
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
try { try {
if(fos != null) {
fos.close(); fos.close();
}
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); 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