Route all exceptions to the Application.ThreadException handler, unless the application's configuration file specifies otherwise.