summaryrefslogtreecommitdiff
path: root/trunk/CIAO/ciao/CCM_CCMException.idl
blob: 012f3dd24ffa56d93e36e7d6a0785d08ee1f9844 (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
// $Id$

/**
 * @@ Compile this file with:
 *
 *     tao_idl -Gv -I ../.. -I ../../orbsvcs/orbsvcs \
 *          -Wb,export_macro=CIAO_Export \
 *          -Wb,export_include=CIAO_export.h \
 *          -Wb,pre_include="ace/pre.h" \
 *          -Wb,post_include="ace/post.h" \
 *          CCM_Container.idl
 */

#if !defined (CCM_CCMEXCEPTION_IDL)
#define CCM_CCMEXCEPTION_IDL

module Components
{
  typeprefix Components "omg.org";

  enum CCMExceptionReason
  {
    SYSTEM_ERROR,
    CREATE_ERROR,
    REMOVE_ERROR,
    DUPLICATE_KEY,
    FIND_ERROR,
    OBJECT_NOT_FOUND,
    NO_SUCH_ENTITY,
    QOS_ERROR,
    REGISTRATION_ERROR,
    SERVICE_INSTALLATION_ERROR
  };

  exception CCMException
  {
    CCMExceptionReason reason;
  };
};
#endif /* CCM_CCMEXCEPTION_IDL */