summaryrefslogtreecommitdiff
path: root/TAO/tao/InvalidName.pidl
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
commit3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch)
tree197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/InvalidName.pidl
parent6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff)
downloadATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tao/InvalidName.pidl')
-rw-r--r--TAO/tao/InvalidName.pidl55
1 files changed, 55 insertions, 0 deletions
diff --git a/TAO/tao/InvalidName.pidl b/TAO/tao/InvalidName.pidl
new file mode 100644
index 00000000000..67546d33943
--- /dev/null
+++ b/TAO/tao/InvalidName.pidl
@@ -0,0 +1,55 @@
+/**
+ * @file InvalidName.pidl
+ *
+ * $Id$
+ *
+ * @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 -Ge 1 -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 */