private void assertOk(String url, DAVStatus status, int[] codes) throws SVNException {
private void assertOk(String method, String url, DAVStatus status, int[] codes) throws SVNException {
    private void assertOk(String url, DAVStatus status, int[] codes) throws SVNException {        int code = status.getResponseCode();        if (codes == null) {            // check that all are > 200.            if (code >= 200 && code < 300) {                return;            }            readError(url, status);            throw new SVNException(status.getErrorText());        }        for (int i = 0; i < codes.length; i++) {            if (code == codes[i]) {                return;            }        }        readError(url, status);        throw new SVNException(status.getErrorText());    }