16 #ifndef polybori_error_PBoRiError_h_
17 #define polybori_error_PBoRiError_h_
32 public std::exception,
public CTypes {
45 PBoRiError(errornum_type err = CTypes::alright);
48 PBoRiError(
const self&);
51 ~PBoRiError() throw();
54 errornum_type code() const;
57 errortext_type text() const;
60 const
char* what() const throw() {
return text(); }
68 #endif // of #ifndef PBoRiError_h_
const char * errortext_type
Type used to verbose error information.
Definition: pbori_defs.h:243
#define END_NAMESPACE_PBORI
Finish project's namespace.
Definition: pbori_defs.h:77
#define BEGIN_NAMESPACE_PBORI
Start project's namespace.
Definition: pbori_defs.h:74
This class is used for polybori's exception handling.
Definition: PBoRiError.h:31
CTypes::errornum_type errornum_type
adopt global error code enumeration
Definition: PBoRiError.h:36
errornum_type error
Definition: PBoRiError.h:63
This struct contains type definitions to be used in library classes.
Definition: pbori_defs.h:269
CTypes::errortext_type errortext_type
adopt global error text type
Definition: PBoRiError.h:39