This class is used for polybori's exception handling. More...
#include <PBoRiError.h>
Public Types | |
| typedef CTypes::errornum_type | errornum_type |
| adopt global error code enumeration | |
| typedef CTypes::errortext_type | errortext_type |
| adopt global error text type | |
| typedef PBoRiError | self |
generic access to type of *this | |
Public Member Functions | |
| PBoRiError (errornum_type err=CTypes::alright) | |
| construct instance from error code | |
| PBoRiError (const self &) | |
| copy constructor | |
| ~PBoRiError () | |
| destructor | |
| errornum_type | code () const |
| get error code | |
| errortext_type | text () const |
| get error text | |
Protected Attributes | |
| errornum_type | error |
This class is used for polybori's exception handling.
It's mainly a class wrapper for CTypes::errorcode.
adopt global error code enumeration
Reimplemented in PBoRiGenericError< ErrorCode >.
adopt global error text type
Reimplemented in PBoRiGenericError< ErrorCode >.
| typedef PBoRiError PBoRiError::self |
generic access to type of *this
| BEGIN_NAMESPACE_PBORI PBoRiError::PBoRiError | ( | errornum_type | err = CTypes::alright |
) |
construct instance from error code
References PBORI_TRACE_FUNC.
| PBoRiError::PBoRiError | ( | const self & | rhs | ) |
copy constructor
References PBORI_TRACE_FUNC.
| PBoRiError::~PBoRiError | ( | ) |
destructor
References PBORI_TRACE_FUNC.
| PBoRiError::errornum_type PBoRiError::code | ( | ) | const |
get error code
References error, and PBORI_TRACE_FUNC.
| PBoRiError::errortext_type PBoRiError::text | ( | ) | const |
get error text
References error, and PBORI_TRACE_FUNC.
errornum_type PBoRiError::error [protected] |
1.6.3