void Client_Task::run_test (Test_Interceptors::Visual_ptr server) { server->normal (10); server->nothing (); try { server->user (); } catch (const Test_Interceptors::Silly&) { ACE_DEBUG ((LM_DEBUG, "Caught Silly\n")); } try { server->system (); } catch (const CORBA::INV_OBJREF&) { ACE_DEBUG ((LM_DEBUG, "Caught CORBA::INV_OBJREF\n")); } }
void run_test (Test_Interceptors::Visual_ptr server) { server->normal (10); ACE_DEBUG ((LM_DEBUG, "\"normal\" operation done\n")); server->nothing (); ACE_DEBUG ((LM_DEBUG, "\"nothing\" operation done\n")); try { server->user (); } catch (const Test_Interceptors::Silly&) { ACE_DEBUG ((LM_DEBUG, "Caught Silly\n")); } try { server->system (); } catch (const CORBA::INV_OBJREF&) { ACE_DEBUG ((LM_DEBUG, "Caught CORBA::INV_OBJREF\n")); } }