if ("USER".equals(faultType)) {
FaultDetail detail = new FaultDetail();
detail.setMajor((short)1);
detail.setMinor((short)2);
throw new PingMeFault("USER FAULT TEST", detail);
} else if ("SYSTEM".equals(faultType)) {
throw new Fault(new Message(EX_STRING, (ResourceBundle)null,
new Object[]{"FAULT TEST"}));
} else {
throw new IllegalArgumentException(EX_STRING);