If you have the Thread object you can try to set a UncaughtExceptionHandler . Take a look at Thread.setUncaughtExceptionHandler(...)