Yes, as the javadoc shows it, FileNotFoundException is a subclass of IOException.
If you really wantFileNotFoundException, you must catch only this execption, otherwise catching IOException will also catch any exception subclassing it, like FileNotFoundException any many others.