}
public void setFaultCode(String faultCode) {
this.faultCode = faultCode;
}
public ActionDocument createFaultData(XmlObject fault,String api,Throwable e){
ActionDocument document = ActionDocument.Factory.newInstance();
Action type = document.addNewAction();
type.setId("");
type.setApplication("lead");
type.setApi(api);
if(fault instanceof DataTransfer){