fos_jpg = new FileOutputStream("D:\\5.jpg");这时如果改名了 最好吧出错信息打印出来 这样就可以发现怎么回事了
这个有可能触发下列违例
Throws:
FileNotFoundException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason.
SecurityException - if a security manager exists and its checkWrite method denies write access to the file.