summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-04-13 14:47:50 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-04-13 14:47:50 +0000
commitfeb8e89d1f3932917e3068c9c23db15ce55286e4 (patch)
tree0d62c61c2e4151b7665392d162436ee7d1e6782d /TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h
parentcbe8aa5d5be1d4679ae0c4e30baaea24fbae416c (diff)
downloadATCD-feb8e89d1f3932917e3068c9c23db15ce55286e4.tar.gz
Thu Apr 13 13:43:19 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>escher_x_4_9_integration_point
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h')
-rw-r--r--TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h b/TAO/CIAO/tools/Config_Handlers/Utils/Exceptions.h
new file mode 100644
index 00000000000..dadb7ed615d
--- /dev/null
+++ b/TAO/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_;
+ };
+
+ }
+}
+
+
+
+