// inclusion in something.
protocol.openInclusionPage(pattributes);
}
} catch (LayoutException e) {
logger.error("unexpected-exception", e);
throw new PAPIException(e);
} catch (RepositoryException e) {
logger.error("repository-exception", e);
throw new PAPIException(e);
} catch (IOException e) {
logger.error("unexpected-ioexception", e);
throw new PAPIException(e);
} catch (ProtocolException e) {
logger.error("rendering-error", pattributes.getTagName(), e);
throw new PAPIException(
exceptionLocalizer.format("rendering-error",
pattributes.getTagName()),
e);
}