[omniORB] enum checking?

Theo Aukerman taukerman@logici.com
Wed, 1 Mar 2000 09:31:52 -0800


Does anyone know if CORBA requires an ORB to check the validity of an enum
passed as a parameter?

Whether or not CORBA requires this, does omniORB do this?

For example:
If I define the following in IDL

enum myEnums
{
	value1,
	value2,
	value3
}

interface myInterface
{
	sendEnum( in myEnums value);
}


and someone manages (through a broken ORB, or mismatched IDL) to send a
value of 4, will this sometimes, always or never result in a marshall
exception?


Theo Aukerman
Taukerman@logici.com
(858)-455-7299x122

All those who believe in telekinesis, raise my hand.