Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3701_Regression / client.cpp
blob3672ccaee4473d3ae647c692ae652a55d2dc7725
1 #include "tao/SystemException.h"
3 int
4 ACE_TMAIN(int, ACE_TCHAR *[])
6 int result = 0;
7 try
9 throw CORBA::BAD_PARAM ();
11 catch (const CORBA::BAD_PARAM&)
13 // Correct exception
15 catch (const CORBA::Exception& ex)
17 ex._tao_print_exception ("Incorrect exception caught:");
18 ++result;
21 return result;