private OutputStream remove(org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { try { target.remove(); } catch (RemoveException ex) { String id = "IDL:javax/ejb/RemoveEx:1.0"; org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply(); out.write_string(id); out.write_value(ex, RemoveException.class); return out; } OutputStream out = reply.createReply(); return out; }