5 This is a test for UNKNOWN exceptions raised by the server. There are
6 two places where this example tests for UNKNOWN exceptions: (a)
7 UNKNOWN exception raised in an upcall and (b) UNKNOWN exception raised
8 while a servant is being cleaned up after deactivation. The number of
9 outstanding requests in the POA are checked after each unit of work
10 performed by the server. The assumption is that if the number of
11 outstanding requests are correct, then the server correctly handled
12 the UNKNOWN exceptions.
16 A successful run is one without any asserts.
18 The server should say:
20 - test_i::normal_method() called
22 - test_i::unknown_exception_in_method() called
23 Unknown exception being generated: should be propagated to the client
25 - test_i::unknown_exception_during_deactivation() called
26 Unknown exception being generated: should be gobbled up by the POA
29 And the client should say:
31 CORBA::UNKNOWN was thrown by the server during test::unknown_exception_in_method()
32 This is expected behavior