}
generatedXML.writeElement("DAV::multistatus", XMLWriter.CLOSING);
if (logger.isTraceEnabled()) {
logger.trace("Sending response: {0}", generatedXML.toString());
}
generatedXML.sendData();
} catch (AccessDeniedException e) {
resp.sendError(WebdavStatus.SC_FORBIDDEN);
} catch (WebdavException e) {
logger.warn(e, new TextI18n("Sending internal error!"));
resp.sendError(WebdavStatus.SC_INTERNAL_SERVER_ERROR);