Object obj = scope.lookup(local);
if (obj != null && (obj instanceof IdlException)) {
result = (IdlType)obj;
} else {
IdlException exc = IdlException.create(scope, local);
scope.holdForScope(exc);
Iterator it = e.getMember().iterator();
while (it.hasNext()) {
MemberType m = (MemberType)it.next();
QName qname = m.getIdltype();
IdlType type = findType(qname);
exc.addToScope(IdlField.create(exc, m.getName(), type));
}
result = exc;
scope.promoteHeldToScope();
}