summaryrefslogtreecommitdiff
path: root/trunk/CIAO/tools/Config_Handlers/Utils/Exceptions.h
blob: dadb7ed615df7c557d05d9883e6399b059b99172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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_;
    };

  }
}