try { logger.debug("Instantiating MessageDispatcher..."); messageDispatcher = new MessageDispatcher(signatureManager); } catch (MessageDispatcherException e) { throw new RuntimeException("Could not initialize MessageDispatcher: " + e); }
    public Server(DataSource ds) {        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();        dbf.setNamespaceAware(true);        try {            db = dbf.newDocumentBuilder();        } catch (ParserConfigurationException e) {            throw new RuntimeException("Could not get DocumentBuilder: " + e);        }        try {            logger.debug("Instantiating SignatureManager...");            signatureManager = new SignatureManagerImpl(ds);        }        catch (SignatureManagerException e) {            throw new RuntimeException("Could not initialize SignatureManager: " + e);        }        xmlSerializer = new XMLSerializer();        OutputFormat format = new OutputFormat();        format.setOmitXMLDeclaration(true);        xmlSerializer.setOutputFormat(format);    }