title: when throw new Error() is written in try block why catch block is not executed .it go in finally only .Latter code also not executed
body: <p>Example bellow a program ,where in try block defectedCode() method is called ,So why only output shown only C with "Exception in thread "main" java.lang.Error".</p>
  
  <pre><code>public class ExceptionTest {
  
      public static void defectedCode(){
  
          throw new Error();
      }
  
      public static void main(String args[]){
  
          try{
              defectedCode();
              System.out.println("A");
  
          }catch(Exception e){
  
              System.out.println("B");
  
          }finally{
  
              System.out.println("C");
          }
          System.out.print("D");
      }
  }
  </code></pre>
  
  
  
  <pre><code>Exception in thread "main" java.lang.Error
  
  C
  
  at ExceptionTest.defectedCode(ExceptionTest.java:15)
  
  at ExceptionTest.main(ExceptionTest.java:21)
  
  Java Result: 1
  </code></pre>