public Fault createFault(SequenceFault sf, Message msg) {
Fault f = null;
if (version == Soap11.getInstance()) {
f = createSoap11Fault(sf);
// so we can encode the SequenceFault as header
f.initCause(sf);
} else {
f = createSoap12Fault(sf, msg);
}
return f;
}