@SuppressWarnings("unchecked") private void introspectFaultTypes(Operation operation) { if (operation != null && operation.getFaultTypes() != null) { for (DataType exceptionType : operation.getFaultTypes()) { faultExceptionMapper.introspectFaultDataType(exceptionType, operation, true); DataType faultType = (DataType)exceptionType.getLogical(); if (JavaExceptionDataBinding.NAME.equals(faultType.getDataBinding())) { // The exception class doesn't have an associated bean class, so // synthesize a virtual bean by introspecting the exception class. createSyntheticBean(operation, exceptionType); } } } }