public class IsolatedThreadGroup extends ThreadGroup
| 构造器和说明 |
|---|
IsolatedThreadGroup(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
rethrowUncaughtException() |
void |
uncaughtException(Thread thread,
Throwable ex) |
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toStringpublic IsolatedThreadGroup(String name)
public void uncaughtException(Thread thread, Throwable ex)
uncaughtException 在接口中 Thread.UncaughtExceptionHandleruncaughtException 在类中 ThreadGrouppublic void rethrowUncaughtException()
Copyright © 2021. All rights reserved.