[omniORB] TypeCode::name() implementation

Frederic Prin frederic.prin at silvaco.com
Tue Dec 7 09:27:32 GMT 2004


Hi Duncan,

Is it normal that the CORBA::TypeCode::name() unconditionally throw an
exception: CORBA::TypeCode::BadKind() is thrown by NP_name() which is
called by name())

The code in typecode.cc file is

const char*
TypeCode_base::NP_name() const
{
  throw CORBA::TypeCode::BadKind();
#ifdef NEED_DUMMY_RETURN
  return 0;
#endif
}

I use omniORB-4.0.3 on Windows platform.

Thanks

FredP





More information about the omniORB-list mailing list