public org.omg.CORBA.EnumDef create_enum (String id, String name, String version, String[] members)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_enum", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
org.omg.CORBA.EnumMemberSeqHelper.write ($out, members);
$in = _invoke ($out);
org.omg.CORBA.EnumDef $result = org.omg.CORBA.EnumDefHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_enum (id, name, version, members );
} finally {
_releaseReply ($in);
}
}