Determines if the currently running thread has permission to
modify this thread group.
<p>
If there is a security manager, its {@code checkAccess} method
is called with this thread group as its argument. This may result
in throwing a {@code SecurityException}.
@throws SecurityException if the current thread is not allowed to
access this thread group.
@see java.lang.SecurityManager#checkAccess(java.lang.ThreadGroupEx)
Determines if the currently running thread has permission to modify this thread group. <p> If there is a security manager, its {@code checkAccess} method is called with this thread group as its argument. This may result in throwing a {@code SecurityException}.
@throws SecurityException if the current thread is not allowed to access this thread group. @see java.lang.SecurityManager#checkAccess(java.lang.ThreadGroupEx)