title: Try/Multi-Catch vs Single Catch
body: <p>While adding a try/catch block in Eclipse, it gave me the option of "Surround with try/multi-catch" or "Surround with try/catch."</p>
  
  <p>This is the try/multi-catch:</p>
  
  <pre><code>try {
      save.load(new FileInputStream(file.getAbsolutePath()));
  }
  catch (FileNotFoundException | IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  </code></pre>
  
  <p>This is the single try/catch:</p>
  
  <pre><code>try {
      save.load(new FileInputStream(file.getAbsolutePath()));
  }
  catch (FileNotFoundException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  </code></pre>
  
  <p>What are the benefits/repercussions of using one or the other? If I'm correct, the first example will execute the catch block when EITHER of the exceptions are thrown and produce the SAME CATCH, while the second example will throw a catch based on the exception while enabling separate catch blocks.</p>
  
  <p>Is there anything else I should know about this? I've never used them before and don't know if they are worth using.</p>