#include <CErrorInfo.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 | |
Public Member Functions | |
CErrorInfo () | |
default constructor (call once for text initialization) | |
Static Public Member Functions | |
static errortext_type | text (errornum_type) |
convert error code to description text | |
Static Protected Attributes | |
static errortext_type | pErrorText [] |
table of error messages in readable form |
adopt global error code enumeration
adopt global error text type
CErrorInfo::CErrorInfo | ( | ) |
default constructor (call once for text initialization)
References CErrorEnums::alright, CErrorEnums::division_by_zero, CErrorEnums::failed, CErrorEnums::illegal_on_zero, CErrorEnums::invalid, CErrorEnums::invalid_ite, CErrorEnums::io_error, CErrorEnums::monomial_zero, CErrorEnums::no_ring, CErrorEnums::not_implemented, CErrorEnums::out_of_bounds, PBORI_TRACE_FUNC, and pErrorText.
CErrorInfo::errortext_type CErrorInfo::text | ( | errornum_type | num | ) | [static] |
convert error code to description text
References PBORI_TRACE_FUNC, and pErrorText.
BEGIN_NAMESPACE_PBORI CErrorInfo::errortext_type CErrorInfo::pErrorText [static, protected] |
table of error messages in readable form
Referenced by CErrorInfo(), and text().