Throws a SecurityException if the
calling thread is not allowed to cause the Java Virtual Machine to
halt with the specified status code.
This method is invoked for the current security manager by the
exit method of class Runtime. A status
of 0 indicates success; other values indicate various
errors.
The checkExit method for class
SecurityManager always throws a
SecurityException.
Exceptions
SecurityException
if the caller does not have permission
to halt the Java Virtual Machine with the specified status.