PolyBoRi
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
libpolybori
include
polybori
except
PBoRiGenericError.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
//*****************************************************************************
14
//*****************************************************************************
15
16
#ifndef polybori_error_PBoRiGenericError_h_
17
#define polybori_error_PBoRiGenericError_h_
18
19
// load PolyBoRi settings
20
#include <
polybori/pbori_defs.h
>
21
22
// Get runtime-definable error type
23
#include "
PBoRiError.h
"
24
25
BEGIN_NAMESPACE_PBORI
26
34
template
<CTypes::errornum_type ErrorCode>
35
class
PBoRiGenericError
:
36
public
PBoRiError
{
37
public
:
39
typedef
CTypes::errornum_type
errornum_type
;
40
42
typedef
CTypes::errortext_type
errortext_type
;
43
44
enum
{ error_code = ErrorCode };
45
47
PBoRiGenericError
():
PBoRiError
(error_code) {}
48
49
};
50
51
END_NAMESPACE_PBORI
52
53
#endif // of #ifndef PBoRiGenericError_h_
Generated by
1.8.3.1