throw new FacesException(e);
} finally {
in.close();
}
} else {
Highlight highlighter;
try {
highlighter = new HighlightImpl(component.getHighlight());
} catch (NoClassDefFoundError e) {
renderErrorMessage(context, component, "HIGHLIGHT_LIBRARY_NOT_FOUND");
highlighter = new DummyHighLight();
}
try {
highlighter.highlight(component.getSrc(), inputStream, writer,
encoding);
} catch (IOException e) {
throw new FacesException(e);
} finally {
inputStream.close();