summaryrefslogtreecommitdiff
path: root/CIAO/tools/Config_Handlers/Utils/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/tools/Config_Handlers/Utils/Exceptions.h')
-rw-r--r--CIAO/tools/Config_Handlers/Utils/Exceptions.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/CIAO/tools/Config_Handlers/Utils/Exceptions.h b/CIAO/tools/Config_Handlers/Utils/Exceptions.h
new file mode 100644
index 00000000000..dadb7ed615d
--- /dev/null
+++ b/CIAO/tools/Config_Handlers/Utils/Exceptions.h
@@ -0,0 +1,39 @@
+// $Id$
+/**
+ * @file Exceptions.h
+ * @author William Otte <wotte@dre.vanderbilt.edu>
+ *
+ * Defines exceptions that may be thrown during the XSC<=>IDL translation process.
+ */
+#include <string>
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+ struct Parse_Error
+ {
+ Parse_Error (const std::string &reason)
+ : reason_ (reason)
+ {
+ }
+
+ std::string reason_;
+ };
+
+ struct Plan_Error
+ {
+ Plan_Error (const std::string &reason)
+ : reason_ (reason)
+ {
+ }
+
+ std::string reason_;
+ };
+
+ }
+}
+
+
+
+