-
Key: I2JAV11-56
-
Legacy Issue Number: 1242
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: In Section 23.13, the signature for insert_Object() is given as,
// throw excep when typecode inconsistent with value
abstract public void insert_Object(
org.omg.CORBA.Object o, org.omg.CORBA.TypeCode t)
throws org.omg.CORBA.MARSHAL;Does this mean if an incorrect TypeCode is passed, eg. tk_short, that a
MARSHAL Exception must be thrown or could a BAD_PARAM Exception
be thrown.Also, I assume read_value() is meant to insert a complex IDL type into
an Any ?
If so, read_value() is supposed to throw a MARSHAL Exception if the
typecode
is inconsistent with the value. Does this mean that if a short has been
written to the
stream, but the stream is passed with a tk_sequence typecode, then an
Exception
should be thrown by read_value() ?. -
Reported: I2JAV 1.0b1 — Mon, 27 Apr 1998 04:00 GMT
-
Disposition: Resolved — I2JAV 1.0
-
Disposition Summary:
closed issue
-
Updated: Fri, 6 Mar 2015 20:58 GMT