Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1482_Regression / Reply_Handler.cpp
blob77f8f79a96fa772f15fc57529a0bc8b9e9fc1900
1 #include "Reply_Handler.h"
3 Reply_Handler::Reply_Handler (CORBA::ORB_ptr o)
4 : orb_ (CORBA::ORB::_duplicate (o))
8 void
9 Reply_Handler::next_prime (CORBA::ULong)
11 return;
14 void
15 Reply_Handler::next_prime_excep (
16 ::Messaging::ExceptionHolder *ex)
19 try
21 ex->raise_exception ();
23 catch (const CORBA::COMM_FAILURE& )
25 /*ACE_DEBUG ((LM_DEBUG,
26 "Callback method <next_prime_excep> called:\n"));
29 ACE_Time_Value tv (10, 0);
30 this->orb_->run (tv);
32 this->orb_->shutdown (0);
34 catch (const CORBA::Exception& ex)
36 ex._tao_print_exception ("Caught exception:");