}
public void setCode(SOAPFaultCode soapFaultCode)
throws SOAPProcessingException {
if (!(soapFaultCode instanceof SOAP11FaultCodeImpl)) {
throw new SOAPProcessingException(
"Expecting SOAP 1.1 implementation of SOAP Fault Code. " +
"But received some other implementation");
}
super.setCode(soapFaultCode);
}