summaryrefslogtreecommitdiff
path: root/modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h
diff options
context:
space:
mode:
authorjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-29 21:10:39 +0000
committerjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-29 21:10:39 +0000
commite7b830ab561638ed25822054be80ce12e8801d38 (patch)
treea5b9aa16924c541fcb424ee9460b1ac7f5a89352 /modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h
parent9b720f395833b3ce2f499463e5fed37a0da926f4 (diff)
downloadATCD-DiffServ-Merge.tar.gz
branching/taggingDiffServ-Merge
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..dadb7ed615d
--- /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::string &reason)
+ : reason_ (reason)
+ {
+ }
+
+ std::string reason_;
+ };
+
+ struct Plan_Error
+ {
+ Plan_Error (const std::string &reason)
+ : reason_ (reason)
+ {
+ }
+
+ std::string reason_;
+ };
+
+ }
+}
+
+
+
+