summaryrefslogtreecommitdiff
path: root/modules/CIAO/tools/Config_Handlers/Utils/Exceptions.h
blob: 63b3563c879e1c868ad6f8c58ccd8b00c33e620d (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::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_;
    };

  }
}