added a parameter for disableUncaughtException - if you want not to use uncaughtException