} else if (b.equals("SOAPFaultException")) {
try {
SOAPFault soapFault = createSOAPFault();
soapFault.setFaultString("hello world");
soapFault.setFaultActor("actor");
throw new SOAPFaultException(soapFault);
} catch (SOAPException se) {}
} else if (b.equals("SOAPFaultException2")) {
try {
SOAPFault soapFault = createSOAPFault();
soapFault.setFaultString("hello world2");
soapFault.setFaultActor("actor2");
Detail detail = soapFault.addDetail();
DetailEntry de = detail.addDetailEntry(new QName("urn://sample", "detailEntry"));
de.setValue("Texas");
throw new SOAPFaultException(soapFault);
} catch (SOAPException se) {}
} else if (b.equals("NPE")) {
throw new NullPointerException();
} else if (b.equals("NPE2")) {
// Throw NPE with a message