}
public synchronized java.lang.Object get_abstract()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue {
Any any = _OB_currentAny();
if (any == null)
throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();
org.omg.CORBA.TypeCode type = any.type();
org.omg.CORBA.TypeCode origTC = TypeCode._OB_getOrigType(type);
if (origTC.kind() != org.omg.CORBA.TCKind.tk_abstract_interface)
throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
try {
return any.extract_Object();
} catch (org.omg.CORBA.BAD_OPERATION ex) {
try {
return any.extract_Value();
} catch (org.omg.CORBA.BAD_OPERATION e) {
throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
}
}
}