public void addValue(Object object) throws TeiidProcessingException {
try {
convertValue(writer, eventWriter, eventFactory, object);
} catch (IOException e) {
fs.remove();
throw new TeiidProcessingException(e);
} catch (XMLStreamException e) {
fs.remove();
throw new TeiidProcessingException(e);
} catch (TransformerException e) {
fs.remove();
throw new TeiidProcessingException(e);
}
}