summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/simple2.idl
blob: c5246d1c6dcb975209fbb969563cabe77eb23d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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);
};