@NotNull
  public static Version parseVersion(@NlsSafe @NotNull String versionText) throws SvnBindException {
    Version result = null;
    Exception cause = null;

    Matcher matcher = VERSION.matcher(versionText);
    boolean found = matcher.find();

    if (found) {
      try {
        result = new Version(getInt(matcher.group(1)), getInt(matcher.group(2)), getInt(matcher.group(3)));
      }
      catch (NumberFormatException e) {
        cause = e;
      }
    }

    if (!found || cause != null) {
      throw new SvnBindException(message("error.could.not.parse.svn.version", versionText), cause);
    }

    return result;
  }
@NotNull
  public static Version parseVersion(@NlsSafe @NotNull String versionText)