Can I set Eclipse to ignore “Unhandled exception type”
问题 Is it possible to get Eclipse to ignore the error "Unhandled exception type"? In my specific case, the reason being that I have already checked if the file exists. Thus I see no reason to put in a try catch statement. file = new File(filePath); if(file.exists()) { FileInputStream fileStream = openFileInput(filePath); if (fileStream != null) { Or am I missing something? 回答1: Is it possible to get Eclipse to ignore the error "Unhandled exception type FileNotFoundException". No. That would be