title: Forcing all methods to throw Exception
body: <p>I have lot of methods in a given class and these methods are called from a different class. Each method should throw Exceptions ideally so that they are handled from the main class.</p>
  
  <p>Is there any way to force all methods to throw Exception if not done? In the below example, function2() does not throw Exception. What I would like to do is to force it. </p>
  
  <pre><code>public void function1() throws Exception {
     // Some Actions
  }
  
  public void function2() {
     // Some Actions
  }
  </code></pre>