VolantisProtocol protocol = getProtocol(context);
protocol.setWriteHead(false);
protocol.openAJAXResponsePage((ResponseBodyAttributes)protocolAttributes);
} catch (PolicyException e) {
logger.error("unexpected-exception", e);
throw new XDIMEException(e);
} catch (RepositoryException e) {
logger.error("repository-exception", e);
throw new XDIMEException(e);
} catch (IOException e) {
logger.error("unexpected-ioexception", e);
throw new XDIMEException(e);
} catch (ProtocolException e) {
logger.error("rendering-error", getTagName(), e);
throw new XDIMEException(exceptionLocalizer.format(
"rendering-error", getTagName()), e);
}
}