diff options
author | zhangw <zhangw@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-15 23:26:37 +0000 |
---|---|---|
committer | zhangw <zhangw@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-15 23:26:37 +0000 |
commit | 54191a377b67a851dc03c754a23cb8aaca6b18b2 (patch) | |
tree | 3ecfcb7e0be56c06857e3faf607c85abb2988120 /CIAO/tools/Config_Handlers/Common.h | |
parent | a6b6f9642d622fb9e274ef1e34f3e848ed3ae9dc (diff) | |
download | ATCD-54191a377b67a851dc03c754a23cb8aaca6b18b2.tar.gz |
Creating a branch of ACE+TAO+CIAO for OCI RT 9734
Diffstat (limited to 'CIAO/tools/Config_Handlers/Common.h')
-rw-r--r-- | CIAO/tools/Config_Handlers/Common.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/CIAO/tools/Config_Handlers/Common.h b/CIAO/tools/Config_Handlers/Common.h new file mode 100644 index 00000000000..6057cbb74be --- /dev/null +++ b/CIAO/tools/Config_Handlers/Common.h @@ -0,0 +1,41 @@ +// $Id$ +/** +* @file Common.h +* @author Will Otte <wotte@dre.vanderbilt.edu> +* +* Some common definitions for all config_handlers. +*/ +#ifndef CONFIG_HANDLERS_COMMON_H +#define CONFIG_HANDLERS_COMMON_H +#include <string> + +namespace CIAO +{ +namespace Config_Handlers +{ +/** +* @class Config_Error +* @brief Exception to communicate a config_handlers error +*/ +class Config_Error +{ +public: +Config_Error (const std::string &name, +const std::string &error) : +name_ (name), +error_ (error) +{}; + +/// Some identifying information about the element that +/// caused the error +std::string name_; + +/// A human readable error message +std::string error_; + +}; +} +} +#endif /* CONFIG_HANDLERS_COMMON_H */ + + |