System.exit
Class Overview | Class Members |
This Package |
All Packages
public static void exit( int status )
Parameters
- status
- exit status.
Description
Terminates the currently running Java Virtual Machine. The
argument serves as a status code; by convention, a nonzero status
code indicates abnormal termination.
This method calls the exit method in class
Runtime. This method never returns normally.
Exceptions
SecurityException
if the current thread cannot exit with
the specified status.
See Also
exit