context = "''{0}'' path not found"; error = SVNErrorMessage.create(SVNErrorCode.RA_DAV_PATH_NOT_FOUND, context, path); } else { context = "{0} of ''{1}''"; contextObjects = new Object[] {request, path}; error = createDefaultErrorMessage(myConnection.getHost(), myStatus, context, contextObjects); }
contextMessage = "''{0}'' path not found"; contextObjects = new Object[] {path}; } SVNErrorMessage error = createDefaultErrorMessage(myConnection.getHost(), myStatus, contextMessage, contextObjects);
    private SVNErrorMessage readError(String request, String path) {        String context;        Object[] contextObjects;        SVNErrorMessage error;        if (myStatus.getCode() == HttpURLConnection.HTTP_NOT_FOUND) {            context = "''{0}'' path not found";            error = SVNErrorMessage.create(SVNErrorCode.RA_DAV_PATH_NOT_FOUND, context, path);        } else {            context = "{0} of ''{1}''";            contextObjects = new Object[] {request, path};            error = createDefaultErrorMessage(myConnection.getHost(), myStatus, context, contextObjects);        }        SVNErrorMessage davError = myConnection.readError(this, request, path);        if (davError != null) {            if (error != null) {                davError.setChildErrorMessage(error);            }            return davError;         }        return error;    }