193194195196197198199200
LOGGER.warn("Inconsistent styles: " + styleFamily + ":" + styleParent + " does not exist."); } return preStyle; } catch (CloneNotSupportedException e) { throw new ReportProcessingException("Failed to derive a stylesheet", e); } }
248249250251252253254255
currentFonts.addFontFace((FontFaceElement) element.clone()); } } } catch (CloneNotSupportedException e) { throw new ReportProcessingException("Failed to clone font-face element"); } }
313314315316317318319320321322323
derivedStyle = null; } } } catch (CloneNotSupportedException e) { throw new ReportProcessingException("Failed to copy style. This should not have happened."); } } else { derivedStyle = null;
508509510511512513514515516
predefCollection); } return autostyle; } catch (CloneNotSupportedException e) { throw new ReportProcessingException( "Deriving the style failed. Clone error: ", e); } }
307308309310311312313314
final ResourceManager realResourceManager = getResourceManager(); styleMapper = StyleMapper.loadInstance(realResourceManager); } catch (ResourceException e) { throw new ReportProcessingException("Failed to load style-mapper", e); } }
408409410411412413414415
startBuffering(contentStylesCollection, true); } catch (IOException e) { throw new ReportProcessingException("Failed", e); } }
706707708709710711712713714715716
} } catch (IOException ioe) { ioe.printStackTrace(); throw new ReportProcessingException("Failed to write content", ioe); } // finally // { // Log.debug ("Started " + getNamespaceFromAttribute(attrs) + ":" + // getElemenTypeFromAttribute(attrs) + " -> " + getCurrentState());
842843844845846847848849
} } } catch (IOException e) { throw new ReportProcessingException("Failed", e); } }
905906907908909910911912
968969970971972973974975976977978
} } } catch (IOException ioe) { throw new ReportProcessingException("IO Error while writing content", ioe); } finally { states.pop();