exceptionClassName = te.getName();
}
}
// Set the name of the exception and
// whether the exception is a complex type
MessageEntry me = symbolTable.getMessageEntry(
fault.getMessage().getQName());
if (me != null) {
me.setDynamicVar(
JavaGeneratorFactory.EXCEPTION_DATA_TYPE,
faultXmlType);
if (exceptionClassName != null) {
me.setDynamicVar(
JavaGeneratorFactory.COMPLEX_TYPE_FAULT,
new Boolean(true));
me.setDynamicVar(
JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
exceptionClassName);
} else {
me.setDynamicVar(
JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
emitter.getJavaName(me.getQName()));
}
}
}