public Element askDumping(Element request) throws IOException {
        if (dump) {
            String x = getName() + "-request";
            try {
                System.err.println("<" + x + ">"
                    + DOMMessage.elementToString(request)
                    + "</" + x + ">\n");
            } catch (Exception e) {}
        }

        Element reply;
        if (dump) {
            try {
                reply = ask(request);
                try {
                    String x = getName() + "-reply";
                    System.err.println("<" + x + ">"
                        + DOMMessage.elementToString(reply)
                        + "</" + x + ">\n");
                } catch (Exception x) {}
            } catch (IOException e) {
                try {
                    System.err.println("<" + getName() + "-exception e=\""
                        + e.getMessage() + "\" />\n");
                } catch (Exception x) {}
                throw e;
            }
        } else {
            reply = ask(request);
        }

        return reply;
    }