question: set the default handler invoked when a thread abruptly terminates due to an uncaught exception , and no other handler has been defined for that thread . uncaught exception handling is controlled first by the thread , then by the thread 's threadgroup object and finally by the defaultuncaught exception handler . if the thread does not have an explicit uncaught exception handler set , and the thread 's thread group including parent thread groups does not specialize its uncaughtexception method , then the default handler 's uncaughtexception method will be invoked . by setting the default uncaught exception handler , an application can change the way in which uncaught exceptions are handled such as logging to a specific device , or file for those threads that would already accept whatever `` default '' behavior the system provided . note that the default uncaught exception handler should not usually defer to the thread 's threadgroup object , as that could cause infinite recursion . concode_field_sep UncaughtExceptionHandler defaultUncaughtExceptionHandler concode_elem_sep UncaughtExceptionHandler uncaughtExceptionHandler concode_field_sep UncaughtExceptionHandler getDefaultUncaughtExceptionHandler concode_elem_sep void dispatchUncaughtException concode_elem_sep State getState concode_elem_sep void suspend0 concode_elem_sep void stop0 concode_elem_sep void setUncaughtExceptionHandler concode_elem_sep void interrupt0 concode_elem_sep void resume0 concode_elem_sep void uncaughtException concode_elem_sep UncaughtExceptionHandler getUncaughtExceptionHandler concode_elem_sep void setPriority0
target: void function ( UncaughtExceptionHandler arg0 ) { SecurityManager loc0 = System . getSecurityManager ( ) ; if ( loc0 != null ) { loc0 . checkPermission ( new RuntimePermission ( "srini_string" ) ) ; } defaultUncaughtExceptionHandler = arg0 ; }