if (cls == FaultException.class) {
return true;
}
DataType faultType = (DataType)exceptionType.getLogical();
Class<?> faultBean = null;
WebFault fault = cls.getAnnotation(WebFault.class);
if (fault != null) {
faultName = new QName(fault.targetNamespace(), fault.name());
XMLType xmlType = new XMLType(faultName, null);
faultType.setLogical(xmlType);
if (!"".equals(fault.faultBean())) {
try {
faultBean = Class.forName(fault.faultBean(), false, cls.getClassLoader());
} catch (ClassNotFoundException e) {
throw new ServiceRuntimeException(e);
}
} else {
Method m;