thread exiting with uncaught exception

Sometimes,you may not catch the Exception with Try-Catch(eh,you may google the reason ).But here I will suggest you one way may solve your case.The Thread class has a function setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh) to process uncaught exception. [Read More]