question: private static int exitWithStatus ( int status ) { if ( ToolIO . getMode ( ) == ToolIO . SYSTEM ) { System . exit ( status ) ; } return status ; }
target:  If run in the system mode, exits the program, in tool mode returns the status