summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl
blob: f3316b59c7a6e499c969c3b7d8c5a17fbaf4cf3d (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
#ifndef EXCEPTION_T_IDL
#define EXCEPTION_T_IDL

#pragma ciao lem "Base/ExceptionTE.idl"
#pragma ciao ami4ccm interface "ExceptionT::MyFoo"
#pragma ciao lem "Base/ExceptionTAE.idl"
#pragma ciao ami4ccm idl "Base/ExceptionTA.idl"

module ExceptionT
{
  exception InternalError
    {
      long id;
      string error_string;
      string test;
    };

  // Sender/Receiver interface
  interface MyFoo
    {
      long foo (in string in_str, out string answer)
        raises (InternalError);
      void hello (out long answer)
        raises (InternalError);

      attribute short rw_attrib
        getraises (InternalError)
        setraises (InternalError);

      readonly attribute short ro_attrib
        raises (InternalError);
    };
};

#endif