summaryrefslogtreecommitdiff
path: root/CIAO/ciao/CCM_CCMException.idl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-11-22 11:18:50 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-11-22 11:18:50 +0000
commit1f9c3f107fdfe3ab39491313b95e41e65f1d7af5 (patch)
treee4efcc9e736ce38cb877850a55a5efd6ceeea7d2 /CIAO/ciao/CCM_CCMException.idl
parent3b05d9285e09d5b55bc2de94f9f4e9d29fb7433c (diff)
downloadATCD-1f9c3f107fdfe3ab39491313b95e41e65f1d7af5.tar.gz
Wed Nov 22 11:05:12 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'CIAO/ciao/CCM_CCMException.idl')
-rw-r--r--CIAO/ciao/CCM_CCMException.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/CIAO/ciao/CCM_CCMException.idl b/CIAO/ciao/CCM_CCMException.idl
new file mode 100644
index 00000000000..445e09e1d1a
--- /dev/null
+++ b/CIAO/ciao/CCM_CCMException.idl
@@ -0,0 +1,37 @@
+// $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
+ };
+
+ exception CCMException
+ {
+ CCMExceptionReason reason;
+ };
+};
+#endif /* CCM_CCMEXCEPTION_IDL */