m.minor = Minor.UserException;
  public TypeCode type()  {    InputStream in = null;    try      {        OutputStream out = _request("_get_type", true);        in = _invoke(out);        return TypeCodeHelper.read(in);      }    catch (ApplicationException ex)      {        in = ex.getInputStream();        throw new org.omg.CORBA.MARSHAL(ex.getId());      }    catch (RemarshalException rex)      {        return type();      }    catch (UserException ex)      {        MARSHAL m = new MARSHAL();        m.initCause(ex);        throw m;      }    finally      {        _releaseReply(in);      }  }