JAV2I 1.2 NO IDEA Avatar
  1. OMG Issue

JAV2I12 — Tie.deactivate() exception handling

  • Key: JAV2I12-15
  • Legacy Issue Number: 3152
  • Status: closed  
  • Source: hursley.ibm.com ( Simon Nash)
  • Summary:

    The javax.rmi.CORBA.Tie.deactivate() method does not declare any exceptions.
    However, when using a POA servant, the following exceptions can be thrown by
    the RMI/IDL tie's implementation of deactivate():

    org.omg.PortableServer.POAPackage.ServantNotActive
    org.omg.PortableServer.POAPackage.WrongPolicy
    (by the servant_to_id() method)

    org.omg.PortableServer.POAPackage.ObjectNotActive
    org.omg.PortableServer.POAPackage.WrongPolicy
    (by the deactivate_object() method)

    How should these exceptions be handled by Tie.deactivate()? If they should
    be rethrown by Tie.deactivate(), what exception(s) should be used?

    (This issue was raised by Max Mortazavi of Sun.)

  • Reported: JAV2I 1.0b1 — Tue, 21 Dec 1999 05:00 GMT
  • Disposition: Resolved — JAV2I 1.1
  • Disposition Summary:

    See revised text below.

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