{
TodoManager.addTodo( new Todo()
{
public void doit( TodoManager mgr ) throws Exception
{
StructValue req = new StructValue( MyValueFactoryCuae._mt_etch_examples_cuae_Cuae_ReqWithMessage, vf );
req.put( MyValueFactoryCuae._mf_code, code );
req.put( MyValueFactoryCuae._mf_msg, message );
Message msg = new Message( MyValueFactoryCuae._mt_etch_examples_cuae_CuaeClient_doit2, vf );
msg.put( MyValueFactoryCuae._mf_req, req );
Mailbox mb = svc.begincall( msg );
Object value = svc.endcall( mb, MyValueFactoryCuae._mt_etch_examples_cuae_CuaeServer__result_doit2 );
if (value instanceof Exception)
{
Exception e = (Exception) value;
e.fillInStackTrace();
throw e;
}
StructValue resp = (StructValue) value;
MyValueFactoryCuae._mt_etch_examples_cuae_Cuae_Response.checkIsAssignableFrom( resp.type() );
System.out.printf( "**** delayDoit2b: req %d response %s\n", code, resp );
}
public void exception( TodoManager mgr, Exception e )
{