|
PolyBoRi
|
This template class is used for polybori's exception handling. More...
#include <PBoRiGenericError.h>
Public Types | |
| enum | { error_code = ErrorCode } |
| typedef CTypes::errornum_type | errornum_type |
| adopt global error code enumeration | |
| typedef CTypes::errortext_type | errortext_type |
| adopt global error text type | |
Public Types inherited from polybori::PBoRiError | |
| 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 | |
| PBoRiGenericError () | |
| Default constructor. | |
Public Member Functions inherited from polybori::PBoRiError | |
| 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 | |
Additional Inherited Members | |
Protected Attributes inherited from polybori::PBoRiError | |
| errornum_type | error |
This template class is used for polybori's exception handling.
It's mainly a wrapper for PBoRiError, which allows compile-time distinction of errors.
| typedef CTypes::errornum_type polybori::PBoRiGenericError< ErrorCode >::errornum_type |
adopt global error code enumeration
| typedef CTypes::errortext_type polybori::PBoRiGenericError< ErrorCode >::errortext_type |
adopt global error text type
|
inline |
Default constructor.
1.8.1.2