message = "authorization failed";
message = status.getCode() + " " + status.getReason();
    public static SVNErrorMessage createDefaultErrorMessage(SVNURL host, HTTPStatus status, String context, Object[] contextObjects) {        SVNErrorCode errorCode = SVNErrorCode.RA_DAV_REQUEST_FAILED;        String message = status != null ? status.getStatusLine() : "";        if (status != null && status.getCode() == HttpURLConnection.HTTP_FORBIDDEN || status.getCode() == HttpURLConnection.HTTP_UNAUTHORIZED) {            errorCode = SVNErrorCode.RA_NOT_AUTHORIZED;            message = "authorization failed";        }        // extend context object to include host:port (empty location).        Object[] messageObjects = contextObjects == null ? new Object[1] : new Object[contextObjects.length + 1];        int index = messageObjects.length - 1;        messageObjects[messageObjects.length - 1] = host;        if (messageObjects.length > 1) {            System.arraycopy(contextObjects, 0, messageObjects, 0, contextObjects.length);        }        return SVNErrorMessage.create(errorCode, context + ": " + message + " (''{" + index + "}'')", messageObjects);    }