title: Java: Global Exception Handler
body: <p>Is there a way to make a global exception-handler in Java. I want to use like this:</p>
  
  <pre><code>"When an exception is thrown somewhere in the WHOLE program, exit."
  </code></pre>
  
  <p>The handler may not catch exceptions thrown in a <code>try-catch</code> body.</p>
  
  <p>Martijn</p>