Implement spring Conduit bean registry and lots of cleanup
[jpim.git] / src / de / j32 / util / SimpleXmlGenerator.java
index cc8356d..fbddb0a 100644 (file)
@@ -30,10 +30,10 @@ public class SimpleXmlGenerator
                        handler_ = factory.newTransformerHandler();
                }
                catch (TransformerConfigurationException e) {
-                       throw new RuntimeException("XML/SAX transformer configuration error");
+                       throw new AssertionError("XML/SAX transformer configuration error");
                }
                catch (TransformerFactoryConfigurationError e) {
-                       throw new RuntimeException("XML/SAX transformer factory configuration error");
+                       throw new AssertionError("XML/SAX transformer factory configuration error");
                }
                Transformer tf = handler_.getTransformer();
                tf.setOutputProperty(OutputKeys.ENCODING,encoding);