title: Should I put throws IllegalArgumentException at the function?
body: <p>I'm building a scientific software with lots of calculations and of course arguments can have wrong lengths etc... So I used <code>IllegalArgumentException</code> class as it seemed right name for the issue, but should I put the <code>throws IllegalArgumentException</code> at the function definition ? </p>
  
  <p>I am asking this because after I wrote it, the Eclipse Editor didn't ask me to surround the function with try and catch. I thought this is how try and catch were enforced. I've read the Exception handling tutorial at Java.com yet I'm not sure I understood the part regarding my question right though.</p>