diff options
Diffstat (limited to 'ACE/TAO/tests/IDL_Test/simple2.idl')
-rw-r--r-- | ACE/TAO/tests/IDL_Test/simple2.idl | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/ACE/TAO/tests/IDL_Test/simple2.idl b/ACE/TAO/tests/IDL_Test/simple2.idl new file mode 100644 index 00000000000..afad6e2e0e1 --- /dev/null +++ b/ACE/TAO/tests/IDL_Test/simple2.idl @@ -0,0 +1,55 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/IDL_Test +// +// = FILENAME +// simple2.idl +// +// = DESCRIPTION +// Further tests of simple IDL +// +// = AUTHORS +// Andy Gokhale <gokhale@dre.vanderbilt.edu> +// +// ============================================================================ + +#include "simple.idl" + +interface simple3 : simple2 +{ + exception OverFlow + { + long a; + string msg; + }; + + exception UnderFlow + { + long b; + string msg; + }; + + exception BadNum + { + vec10 c; + }; + + exception UserError + { + any reason; + }; + + long op3 (in long a, + out simple3 b, + out simple2 c, + out simple d) + raises (OverFlow, UnderFlow, BadNum); + + any op4 (in any x, + inout any y, + out any z) + raises (UnderFlow); +}; |