diff options
Diffstat (limited to 'ACE/TAO/tests/Collocation_Exception_Test/Test.idl')
-rw-r--r-- | ACE/TAO/tests/Collocation_Exception_Test/Test.idl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Collocation_Exception_Test/Test.idl b/ACE/TAO/tests/Collocation_Exception_Test/Test.idl new file mode 100644 index 00000000000..fae0b26f3d2 --- /dev/null +++ b/ACE/TAO/tests/Collocation_Exception_Test/Test.idl @@ -0,0 +1,33 @@ +// +// $Id$ +// + +/// Put the interfaces in a module, to avoid global namespace pollution +module Test +{ + /// A very simple interface + interface Hello + { + exception A {}; + exception B {}; + + /// Return a simple string + string get_string (); + + /// test system exception internal + void system_exception_test (); + + /// Method that has defined raises A and which throws also that + /// exception + void user_exception_expected () raises (A); + + /// Method that has defined raises A and but which throws B + void user_exception_not_expected () raises (A); + + /// A method to shutdown the ORB + /** + * This method is used to simplify the test shutdown process + */ + oneway void shutdown (); + }; +}; |