#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 () throw () | |
destructor | |
errornum_type | code () const |
get error code | |
errortext_type | text () const |
get error text | |
const char * | what () const throw () |
std::exception compatible interface | |
Protected Attributes | |
errornum_type | error |
It's mainly a class wrapper for CTypes::errorcode.
adopt global error code enumeration
Reimplemented from polybori::CAuxTypes.
Reimplemented in polybori::PBoRiGenericError< ErrorCode >.
adopt global error text type
Reimplemented from polybori::CAuxTypes.
Reimplemented in polybori::PBoRiGenericError< ErrorCode >.
typedef PBoRiError polybori::PBoRiError::self |
generic access to type of *this
polybori::PBoRiError::PBoRiError | ( | errornum_type | err = CTypes::alright |
) |
polybori::PBoRiError::PBoRiError | ( | const self & | rhs | ) |
polybori::PBoRiError::~PBoRiError | ( | ) | throw () |
PBoRiError::errornum_type polybori::PBoRiError::code | ( | ) | const |
PBoRiError::errortext_type polybori::PBoRiError::text | ( | ) | const |
const char* polybori::PBoRiError::what | ( | ) | const throw () [inline] |
std::exception compatible interface
errornum_type polybori::PBoRiError::error [protected] |