JAV2I 1.2 NO IDEA Avatar
  1. OMG Issue

JAV2I12 — Should Portability APIs throw SystemException?

  • Key: JAV2I12-51
  • Legacy Issue Number: 1640
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: This item arises from the Java-to-IDL Mapping RFP, but is also of
    concern to the IDL-to-Java RTF because it affects the IDL-to-Java
    mapping.

    Three of the new portability APIs intorduced by the Java to IDL mapping
    are declared as throwing org.omg.CORBA.SystemException. These are
    the _invoke methods of ObjectImpl and Delegate and the _invoke method
    of InvokeHandler. I don"t think this exception hould be declared
    explicitly, since it is a subclass of java.lang.RuntimeException and so
    is always implictly throwable whether it is declared or not. Also,
    other portability APIs can throw this exception even though they do not
    declare it explicitly. This inconsistency makes it very difficult for
    the reader of the spec to determine which of the portability APIs can
    throw CORBA system exceptions, and is likely to cause confusion.

    I propose that org.omg.CORBA.SystemException be removed from the throws
    clause of the above-mentioned APIs.

  • Reported: JAV2I 1.0b1 — Wed, 8 Jul 1998 04:00 GMT
  • Disposition: Resolved — JAV2I 1.0
  • Disposition Summary:

    No Data Available

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