title: Exceptions in Java: Using throws or try-catch
body: <p>This is a very well discussed topic. Out of many links, I did find the below two useful.</p>
  
  <p><a href="https://stackoverflow.com/q/334319/1930402">1</a>,
  <a href="https://stackoverflow.com/questions/3794910/difference-between-try-catch-and-throw-in-java">2</a></p>
  
  <p>My questions is this:</p>
  
  <ol>
  <li><p>I am writing multiple methods, some for general purposes- say, writing into file, reading from file, splitting a string using some regex.</p></li>
  <li><p>I am calling these methods from different parts of my application- say class1, class 2 and class 3 calls the file writing method, but with different  file names and data.</p></li>
  </ol>
  
  <p>Where should I include try catch and throws?
  1. The outermost method, say the main, from where I am calling the class1, class2 and class 3 methdods have one set of try, catch and use throws in the innermost functions.</p>
  
  <ol start="2">
  <li>Or, have a try catch in the innermost-None to the outer files..</li>
  </ol>
  
  <p>Which is a better option and why? Are there any other ways of dealing with this.</p>
  
  <p>Thanks</p>