93949596979899100
throw unexpectedException(iv); } } else { throw new TypeMismatch(); } }
115116117118119120121122123124125
throws InvalidValue, TypeMismatch { checkDestroyed (); if( ! value.type().equivalent( type()) ) { throw new TypeMismatch(); } typeCode = TypeCode.originalType( value.type() ); try
193194195196197198199200201
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_boolean) { throw new TypeMismatch (); } any.insert_boolean(value); }
206207208209210211212213214
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_octet) { throw new TypeMismatch (); } any.insert_octet(value); }
219220221222223224225226227
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_char) { throw new TypeMismatch (); } any.insert_char(value); }
232233234235236237238239240
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_short) { throw new TypeMismatch (); } any.insert_short(value); }
245246247248249250251252253
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_ushort) { throw new TypeMismatch (); } any.insert_ushort(value); }
258259260261262263264265266
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_long) { throw new TypeMismatch (); } any.insert_long(value); }
271272273274275276277278279
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_ulong) { throw new TypeMismatch (); } any.insert_ulong(value); }
284285286287288289290291292
{ checkDestroyed (); org.omg.CORBA.Any any = getRepresentation(); if( any.type().kind() != org.omg.CORBA.TCKind.tk_float) { throw new TypeMismatch (); } any.insert_float(value); }