| checkExit |
([int status]) |
yoix.system |
| |
Asks the interpreter to carry out the security checking needed to find out
if the calling thread can cause the Yoix interpreter or the Java Virtual
Machine to stop running and returns non-zero if the operation is allowed
and zero if it is not.
The optional
status
argument, which is
0
by default, is the status code that exiting will return to the environment.
This
Builtin
is closely connected to the
SecurityManager
function that has the same name, however it does not participate in security
checks, but instead it provides an easy way for applications to run security
checks without actually carrying out an operation that might raise exceptions
that need to be caught.
| |
| Return: |
int
| | |
| See Also: |
checkAccept,
checkConnect,
checkCreateRobot,
checkDelete,
checkExec,
checkListen,
checkMulticast,
checkPropertiesAccess,
checkRead,
checkReadDisplayPixels,
checkReadEnvironment,
checkReadProperty,
checkSystemClipboardAccess,
checkWrite,
checkWriteProperty,
SecurityManager
|
|
Yoix is a registered trademark of AT&T Inc.
|