code: private ServerStatusMessage[] getAllMessages() throws Exception {
  
          ServerStatusMessage[] messages = _statusFile.getMessages(null);
          if (messages.length == 0) {
              System.out
                      .println("WARNING: Server status file is empty; re-creating");
              init();
              messages = _statusFile.getMessages(null);
          }
          ServerState firstState = messages[0].getState();
          if (firstState != ServerState.NOT_STARTING) {
              System.out
                      .println("WARNING: Server status file is missing one or more messages");
          }
          return messages;
      }
docs: print a warning