}
  org.omg.CORBA.portable.InputStream s_invoke(InvokeHandler handler)                                       throws ApplicationException  {    try      {        poa.m_orb.currents.put(Thread.currentThread(), this);        org.omg.CORBA.portable.InputStream input = v_invoke(handler);        if (!exceptionReply)          return input;        else          {            input.mark(500);            String id = input.read_string();            try              {                input.reset();              }            catch (IOException ex)              {                InternalError ierr = new InternalError();                ierr.initCause(ex);                throw ierr;              }            throw new ApplicationException(id, input);          }      }    finally      {        poa.m_orb.currents.remove(Thread.currentThread());      }  }