CORBA 2.3 MAILINGLIST Avatar
  1. OMG Issue

CORBA23 — set_servant_manager

  • Key: CORBA23-13
  • Legacy Issue Number: 1970
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: What exception should POA::set_servant_manager raise if the wrong servant
    manager type is passed? For example, if a POA has RETAIN and I try to
    register a ServantLocator, should set_servant_manager raise WrongPolicy, or
    some system exception? With respect to set_servant_manager, the spec says

    "This method requires the USE_SERVANT_MANAGER policy; if not present, the
    WrongPolicy exception is raised."

    Because WrongPolicy is used to denote whether set_servant_manager can be
    called correctly or not, it seems like the wrong exception to also use for
    the case of passing the wrong servant manager type. May I suggest that
    BAD_PARAM be raised in that case instead?

  • Reported: CORBA 2.2 — Thu, 24 Sep 1998 04:00 GMT
  • Disposition: Resolved — CORBA 2.3
  • Disposition Summary:

    Incorporate change in 2.4 and close issue.

  • Updated: Fri, 6 Mar 2015 20:58 GMT