14.13.2.4 Exceptions
The ObjectAlreadyActive exception is raised if the
CORBA object denoted by the ObjectId value is already
active in this POA.
The ServantAlreadyActive exception is raised if the
servant is already in the Active Object Map.
Note:
Other exceptions can occur if the POA uses unsupported policies.The BAD_PARAM system exception may be raised if the
POA has the SYSTEM_ID policy and it detects that the
ObjectId value was not generated by the system or for
this POA. An ORB is not required to detect all such invalid
ObjectId values. However, a portable application must
not invoke activate_object_with_id on a POA if the POA
has the SYSTEM_ID policy with an ObjectId
value that was not previously generated by the system for that POA,
or, if the POA also has the PERSISTENT policy, for a
previous instantiation of the same POA.
Parent topic: PortableServer::POA::activate_object_with_id