难受 同胞们 你们在哪里 come on!!!
package zh.codegym.task.task18.task1810;
import java.io.*;
import java.util.Stack;
/*
DownloadException
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String file1Name = reader.readLine();
String file2Name = reader.readLine();
//出现乱码是因为 有中文 相当于一个字符 那么 一个字符占两个字节 所以 会乱码
FileInputStream fis1 = new FileInputStream(file1Name);
// FileOutputStream fos2 = new FileOutputStream("E:\\MyDesktop\\bb.txt");
int sum = 0;
if(fis1.available()<1000){
fis1.close();
throw new DownloadException();
}
// fis1.close();
}
public static class DownloadException extends Exception {
}
}