title: Java throws keyword
body: <p>I accidentally declared a method that throws an exception, (<code>IllegalArgumentException</code>), but I forgot to use <code>throws</code>.<br>
  I thought it's mandatory, and I wondered why the code compiled without any warning / error.<br>
  If it's not mandatory, then what is the purpose of it?</p>