LOG.debug("Transformed result is \n" + os.toString());
return transformed;
} catch (TransformerConfigurationException e) {
- throw new RuntimeException(e.getMessage(), e);
+ throw new TransformerException("Transformer configuration problem", e);
} finally {
// Release the connection.
aMethod.releaseConnection();