summaryrefslogtreecommitdiff
path: root/TAO/tao/InvalidName.pidl
blob: 34982713607fcb341f1f7b530dfb243c0810d966 (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
/**
 * @file InvalidName.pidl
 *
 * @brief Pre-compiled IDL source for the CORBA::InvalidName
 * exception.
 *
 * This file is used to generate parts of the code in ORB.{h,i,cpp},
 * using the following command:
 *
 *   tao_idl
 *        -o orig -Gp -Gd -Gv -DCORBA3
 *        -Wb,export_macro=TAO_Export
 *        -Wb,export_include=TAO_Export.h
 *        -Wb,pre_include="ace/pre.h"
 *        -Wb,post_include="ace/post.h"
 *        InvalidName.pidl
 *
 * and then:
 *
 * patch < diffs/InvalidName.diff
 *
 * The code left in InvalidNameC.{h,i,cpp} must then be inserted into
 * the ORB.{h,i,cpp} files.  This sucks, but it is a direct result of
 * the way the spec is defined, the ORB 'pseudo-interface' cannot be
 * automatically generated, but it is better to automatically generate
 * the exception, otherwise they are always out of date when compared
 * to the rest of ACE+TAO.
 */
#ifndef TAO_CORBA_INVALIDNAME_PIDL
#define TAO_CORBA_INVALIDNAME_PIDL

#pragma prefix "omg.org"

module CORBA
{
  local interface ORB
  {
    /**
     * @exception InvalidName
     *
     * @brief UserException for resolve_initial_references()
     *
     * This exception is thrown if an 'invalid name' is passed to
     * the CORBA::ORB::resolve_initial_references() operation.
     */
    exception InvalidName {};
  };
};

#pragma prefix ""

#endif /* TAO_CORBA_INVALIDNAME_PIDL */