class MultiStatusResponse {

    public int getStatus(String resId) {
        Integer status = responses.get(resId);
        if (status == null) {
            throw new NoSuchElementException("Unknown resource ID: " + resId +
                    "; not contained in this multi-status response.");
        }
        return status;
    }

    public  MultiStatusResponse(Map<String, Integer> responses);

}