if (LOG.isDebugEnabled()) {
LOG.debug("TRACK\t" + "\t/query/" + queryName + "/xml/\tGET");
}
try {
String xml = olapQueryService.getQueryXml(queryName);
return new SavedQuery(queryName, null, xml);
} catch (Exception e) {
LOG.error("Cannot get xml for query (" + queryName + ")", e);
return null;
}