Added Methods |
Map getAllStackTraces()
|
Returns a map of stack traces for all live threads. |
UncaughtExceptionHandler getDefaultUncaughtExceptionHandler()
|
Returns the default handler invoked when a thread abruptly terminates
due to an uncaught exception. |
long getId()
|
Returns the identifier of this Thread. |
StackTraceElement[] getStackTrace()
|
Returns an array of stack trace elements representing the stack dump
of this thread. |
UncaughtExceptionHandler getUncaughtExceptionHandler()
|
Returns the handler invoked when this thread abruptly terminates
due to an uncaught exception. |
void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler )
|
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. |
void setUncaughtExceptionHandler(UncaughtExceptionHandler )
|
Set the handler invoked when this thread abruptly terminates
due to an uncaught exception. |