If we are to catch specific forms of IOException, or any other kind as a
matter of fact, and we only try and catch a couple (and define definitive outputs for t
I think it is a matter of personal preference. Personally, this seems not to be a good choice. I prefer to have code that makes sense to me with the try-catch stuff. This means being as specific as possible. I would say:
try{
//Code Here
}
catch(FileNotFoundException e){
//Code Here
}