diff options
Diffstat (limited to 'TAO/examples/Advanced/ch_3/client.cpp')
-rw-r--r-- | TAO/examples/Advanced/ch_3/client.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/TAO/examples/Advanced/ch_3/client.cpp b/TAO/examples/Advanced/ch_3/client.cpp index c106f7f8110..eb1456682e5 100644 --- a/TAO/examples/Advanced/ch_3/client.cpp +++ b/TAO/examples/Advanced/ch_3/client.cpp @@ -58,12 +58,6 @@ main (int argc, char *argv[]) throw 0; } - { - cout << "Validating connection"<<endl; - CORBA::PolicyList_var pols; - tm->_validate_connection (pols.out ()); - cout << "Succesfull " <<endl; - } // Get time TimeOfDay tod = tm->get_gmt (); cout << "Time in Greenwich is " @@ -71,10 +65,8 @@ main (int argc, char *argv[]) << setw (2) << setfill ('0') << tod.minute << ":" << setw (2) << setfill ('0') << tod.second << endl; } - catch (const CORBA::Exception &x) + catch (const CORBA::Exception &) { - ACE_PRINT_EXCEPTION (x, - "Who is the culprit \n"); cerr << "Uncaught CORBA exception" << endl; return 1; } |