Share via


Thread.checkAccess

Class Overview | Class Members | This Package | All Packages

Syntax

public void checkAccess()

Description

Determines if the currently running thread has permission to modify this thread.

If there is a security manager, its checkAccess method is called with this thread as its argument. This may result in throwing a SecurityException.

Exceptions

SecurityException if the current thread is not allowed to access this thread.

See Also

checkAccess