I2JAV 1.2 NO IDEA Avatar
  1. OMG Issue

I2JAV12 — exceptions on valuetype initializers

  • Key: I2JAV12-22
  • Legacy Issue Number: 4792
  • Status: closed  
  • Source: Oracle ( Ken Cavanaugh)
  • Summary:

    The CORBA components updates to the Interface Repository defined in ptc/01-11-03
    include the addition of exceptions on valuetype initializers. There is a
    separate
    issue that is required to change the IDL grammar and other text in chapter 3
    to include this. For the purposes of discussion in this issue,
    I am assuming that the appropriate syntax is:

    <init_dcl> ::= "factory" <identifier> "(" [ <init_param_decls> ] ")" [
    <raises_expr> ] ";"

    Proposed revised text:

    In section 1.13.2, replace the paragraph that begins "The value type's generated
    value factory" with:

    The value type's generated value factory interface extends
    org.omg.CORBA.portable.ValueFactory and contains one method corresponding to
    each
    factory declared in the IDL. The name of the method is the same as the name
    of
    the factory, and the factory arguments are mapped in the same way as in
    parameters
    are for IDL operations. If the factory raises exceptions, then the
    corresponding
    Java method must throw Java exceptions corresponding to the listed IDL
    exceptions.

  • Reported: I2JAV 1.1 — Tue, 18 Dec 2001 05:00 GMT
  • Disposition: Resolved — I2JAV 1.2
  • Disposition Summary:

    Incorporate the revised text and close the issue

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