writer = null;
documentContentItem = null;
textExtractor = null;
// ignore for now ..
throw new ContentProcessingException("IOError while creating content", ioe);
}
catch (ContentIOException e)
{
try
{
if (writer != null)
{
writer.close();
}
}
catch (IOException ex)
{
// ignored ..
}
writer = null;
documentContentItem = null;
textExtractor = null;
throw new ContentProcessingException("Content-IOError while creating content", e);
}
catch (URLRewriteException e)
{
try
{
if (writer != null)
{
writer.close();
}
}
catch (IOException ex)
{
// ignored ..
}
writer = null;
documentContentItem = null;
textExtractor = null;
throw new ContentProcessingException("Cannot create URL for external stylesheet", e);
}
}