throw new RuntimeException(ex);
}
}
public CollectionResource createResource(MakeCollectionableResource existingCol, String newName, Request request) throws ConflictException, NotAuthorizedException, BadRequestException, IOException {
MakeCalendarResource mkcal = (MakeCalendarResource) existingCol;
CollectionResource newCal = mkcal.createCalendar(newName);
propPatchHandler.doPropPatch(request, newCal);
return newCal;
}