Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_1482_Regression / Reply_Handler.cpp
blob4cf7b821414d9f3ca0444be766e131acbcbf8caf
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)
13 void
14 Reply_Handler::next_prime_excep (
15 ::Messaging::ExceptionHolder *ex)
17 try
19 ex->raise_exception ();
21 catch (const CORBA::COMM_FAILURE& )
23 /*ACE_DEBUG ((LM_DEBUG,
24 "Callback method <next_prime_excep> called:\n"));
27 ACE_Time_Value tv (10, 0);
28 this->orb_->run (tv);
30 this->orb_->shutdown (false);
32 catch (const CORBA::Exception& ex)
34 ex._tao_print_exception ("Caught exception:");