public void finish() throws VcsException {
    if (myExitCode != 0 && myErrorOutput.length() != 0) {
      @NlsSafe String message = myErrorOutput.toString();
      throw new VcsException(message);
    }
  }
public void finish()