/** Create the ObjectNotActive typecode (empty structure, named "ObjectNotActive"). */
 public static TypeCode type() {
   if (typeCode == null) {
     ORB orb = ORB.init();
     StructMember[] members = new StructMember[0];
     typeCode = orb.create_exception_tc(id(), "ObjectNotActive", members);
   }
   return typeCode;
 }
  /**
   * Create the UnknownUserException typecode (structure, named "UnknownUserException", containing a
   * single field of type {@link Any}, named "except".
   */
  public static TypeCode type() {
    ORB orb = OrbRestricted.Singleton;
    StructMember[] members = new StructMember[1];

    TypeCode field;

    field = orb.get_primitive_tc(TCKind.tk_any);
    members[0] = new StructMember("except", field, null);
    return orb.create_exception_tc(id(), "UnknownUserException", members);
  }
Beispiel #3
0
 /** Create the InvalidSlot typecode (structure, named "InvalidSlot"). */
 public static TypeCode type() {
   ORB orb = OrbRestricted.Singleton;
   StructMember[] members = new StructMember[0];
   return orb.create_exception_tc(id(), "InvalidSlot", members);
 }