message += "\nsvn: " + status.getErrorText();
message += "\n"; if (!status.getErrorText().startsWith("svn:")) { message += "svn: "; } message += status.getErrorText();
    private void assertOk(String method, String url, DAVStatus status, int[] codes) throws SVNException {        int code = status.getResponseCode();        if (url == null || "".equals(url)) {            url = "/";        }        if (codes == null) {            // check that all are > 200.            if (code >= 200 && code < 300) {                return;            }            readError(url, status);            String message = "svn: " + method + " request failed on '" + url + "'";            if (status.getErrorText() != null && !"".equals(status.getErrorText())) {                message += "\nsvn: " + status.getErrorText();            }            SVNErrorManager.error(message);        }        for (int i = 0; i < codes.length; i++) {            if (code == codes[i]) {                return;            }        }        readError(url, status);        String message = "svn: " + method + " request failed on '" + url + "'";        if (status.getErrorText() != null && !"".equals(status.getErrorText())) {            message += "\nsvn: " + status.getErrorText();        }        SVNErrorManager.error(message);    }