Java: Global Exception Handler

Is there a way to make a global exception-handler in Java. I want to use like this: "When an exception is thrown somewhere in the WHOLE program, exit." The handler may not catch exceptions thrown...