THE PACKAGE JAVA.LANG
java.lang.SecurityManager
20.17
The
checkAccess
method defined by class
SecurityManager
always throws
a
SecurityException
. A subclass must override this method if a thread modifi
cation operation is to be permitted with a security manager installed.
20.17.12
public void checkAccess(ThreadGroup g)
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if an operation that would modify the thread group
g
is not permitted.
This method is invoked for the current security manager ( 20.18.4) by method
checkAccess
( 20.21.4) of class
ThreadGroup
.
The
checkAccess
method defined by class
SecurityManager
always throws
a
SecurityException
. A subclass must override this method if a thread group
modification operation is to be permitted with a security manager installed.
20.17.13
public void checkExit(int status)
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if an exit operation that would terminate the running Java Virtual Machine is not
permitted.
This method is invoked for the current security manager ( 20.18.4) by method
exit
( 20.16.2) of class
Runtime
.
The
checkExit
method defined by class
SecurityManager
always throws a
SecurityException
. A subclass must override this method if the exit operation
is to be permitted with a security manager installed.
20.17.14
public void checkExec(String cmd)
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if a command
exec
operation is not permitted. The argument
cmd
is the name of
the command to be executed.
This method is invoked for the current security manager ( 20.18.4) by method
exec
( 20.16.6) of class
Runtime
.
The
checkExec
method defined by class
SecurityManager
always throws a
SecurityException
. A subclass must override this method if a command
exec
operation is to be permitted with a security manager installed.
573
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved