Possible Duplicate:
What is the advantage of using try {} catch {} versus if {} else {}
I'd like to know whether, generally speaking, it's better to use a try/catch construct or to try to prevent this exception by (excessive?) use of if/else. Example: should I catch a FileNotFoundException, or should I test and try to find the file first.
What would be the best approach?