summaryrefslogtreecommitdiff
path: root/modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h')
-rw-r--r--modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h b/modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h
new file mode 100644
index 00000000000..63b3563c879
--- /dev/null
+++ b/modules/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::basic_string<ACE_TCHAR> &reason)
+ : reason_ (reason)
+ {
+ }
+
+ std::basic_string<ACE_TCHAR> reason_;
+ };
+
+ struct Plan_Error
+ {
+ Plan_Error (const std::basic_string<ACE_TCHAR> &reason)
+ : reason_ (reason)
+ {
+ }
+
+ std::basic_string<ACE_TCHAR> reason_;
+ };
+
+ }
+}
+
+
+
+