void (int exitCode) { super.notifyProcessTerminated(exitCode); String message = "Watcher terminated with exit code " + exitCode; if (myShuttingDown || myVm.shuttingDown) myVm.logger.info(message); else myVm.logger.warn(message); myVm.handler = null; setupProcess(myVm); }