ThreadGroup.destroy

ThreadGroup.destroy

Class Overview | Class Members | This Package | All Packages

Syntax
public final void destroy()
Description
Destroys this thread group and all of its subgroups. This thread group must be empty, indicating that all threads that had been in this thread group have since stopped.

Exceptions
IllegalThreadStateException if the thread group is not empty or if the thread group has already been destroyed.
Exceptions
SecurityException if the current thread cannot modify this thread group.