builder.startElement( new QName( "stack-trace", SQLModule.NAMESPACE_URI, SQLModule.PREFIX ), null );
ByteArrayOutputStream bufStackTrace = new ByteArrayOutputStream();
sqle.printStackTrace( new PrintStream( bufStackTrace ) );
builder.characters( new String( bufStackTrace.toByteArray() ) );
builder.endElement();
builder.startElement( new QName( "sql", SQLModule.NAMESPACE_URI, SQLModule.PREFIX ), null );
builder.characters( SQLUtils.escapeXmlText( sql ) );
builder.endElement();