check all exception...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092 2015-08-21 20:07:15 +08:00
parent 77e10e87c6
commit 0669722000

View File

@ -6,7 +6,6 @@ package cn.citycraft.Yum.utils;
import java.io.BufferedInputStream; import java.io.BufferedInputStream;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL; import java.net.URL;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
@ -60,7 +59,7 @@ public class DownloadUtils {
in.close(); in.close();
fout.close(); fout.close();
} }
} catch (IOException ex) { } catch (Exception ex) {
sender.sendMessage("关闭数据流时发生错误!"); sender.sendMessage("关闭数据流时发生错误!");
} }
} }