title: Java: why "throw new Exception()" have to "add Exception to method signature" but "throw new RuntimeException()" not
body: <p>i try</p>
  
  <pre><code>package ro.ex;
  
  /**
   * Created by roroco on 11/4/14.
   */
  
  class Ex {
  
      public void m() {
          throw new Exception();
      }
  
      public void m2() {
          throw new RuntimeException();
      }
  }
  </code></pre>
  
  <p>in <code>throw new Exception();</code>, intellij idea raise "Unhandled exception: java.lang.Exception", but in <code>throw new RuntimeException();</code> it's not, <strong>my question is:</strong> what cause this diff?</p>