public void throwOnError(int... ignoredErrorCodes) throws VcsException {
    if (success(ignoredErrorCodes)) return;
    String errorMessage = getErrorOutputAsJoinedString();
    if (myRootName != null) {
      errorMessage = "[" + myRootName + "] " + errorMessage;
    }
    throw new VcsException(errorMessage);
  }
public void throwOnError(int... ignoredErrorCodes)