callback = cb;
}
public void write(Object obj, T output) {
WebFault wfAnnotation = obj.getClass().getAnnotation(WebFault.class);
if (wfAnnotation != null) {
QName elName = new QName(wfAnnotation.targetNamespace(), wfAnnotation.name());
write(obj, elName, output);
}
}
public void write(Object obj, QName elName, T output) {
Object faultInfo = getFaultInfo((Throwable)obj);