mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 22:38:46 +00:00
check all exception...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
77e10e87c6
commit
0669722000
@ -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("关闭数据流时发生错误!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user