DataWriter<Detail> writer = callback.createWriter(Detail.class);
if (writer != null) {
writer.write(t, fault.addDetail());
if (!fault.getDetail().hasChildNodes()) {
fault.removeChild(fault.getDetail());
}
}
}
} catch (SOAPException se) {
LOG.log(Level.SEVERE, "FAULT_MARSHALLING_FAILURE_MSG", se);