title: FileNotFoundException vs. NoSuchFileException
body: <p>I noticed another Java exception for indicating that file does not exist - <code>NoSuchFileException</code>. I was tasked to refactor  a certain api which throws both of these from differen methods and I would like to use just one. </p>
  
  <p>Should I map <code>NoSuchFileException</code> to file to <code>FileNotFoundException</code> ? Should I use <code>NoSuchFileException</code> instead of <code>FileNotFoudnException</code> because it is more specific?</p>
  
  <p>EDIT: Updated the question. I read the documentation before posting this question and know the basic difference. I was hoping for additional information and the guidance in this case since exception handling by type is important for the clients of the service api and I would like to avoid the case when the check needs to be done for both exception types.</p>